CredentialProvider
The interface nautilus calls to satisfy credential-gated access. One method.
class implements CredentialProvider {
async (: CredentialChallenge): <PolicyServerPayload | null> {
.
.
.
. // the node that will enforce this policy
return null // null = nothing to prove
}
}Returning null means the service is not gated, or verification already succeeded — nautilus
then proceeds without a presentation.
Implementations
| Class | Use |
|---|---|
WaltIdCredentialProvider | Drives a real walt.id wallet through the whole exchange. |
StaticCredentialProvider | You already hold a verifier session id. |
NoopCredentialProvider | Always null. The default. |