public interface IdentityDb<I extends Identity>
| Modifier and Type | Method and Description |
|---|---|
I |
authenticate(ApiKeyCredential akc)
Authenticate with an API key and signature
|
I |
authenticate(JwtCredential jwt)
Authenticate with a JWT token
|
I |
authenticate(UsernamePasswordCredential upc)
Authenticate with a username and password
|
String |
createJwtToken(Identity ii)
Create a JWT token for the given identity.
|
void |
invalidateJwtToken(String jwtToken)
Invalidate the given JWT token
|
I authenticate(UsernamePasswordCredential upc) throws IamSvcException
upc - the username/password credentialIamSvcException - when the call cannot be completed due to a service errorI authenticate(ApiKeyCredential akc) throws IamSvcException
akc - the API key credentialIamSvcException - when the call cannot be completed due to a service errorI authenticate(JwtCredential jwt) throws IamSvcException
jwt - the JWT credentialIamSvcException - when the call cannot be completed due to a service errorString createJwtToken(Identity ii) throws IamSvcException
ii - an identityIamSvcException - when the call cannot be completed due to a service errorvoid invalidateJwtToken(String jwtToken) throws IamSvcException
jwtToken - a JWT tokenIamSvcException - when the call cannot be completed due to a service errorCopyright © 2023 continual.io. All rights reserved.