public class TokenCredential extends AbstractBaseCredentials
Represents the credentials typically used when performing authentication based on tokens.
Token
,
TokenCredentialHandler
Credentials.Status
Constructor and Description |
---|
TokenCredential(String token) |
TokenCredential(Token token) |
Modifier and Type | Method and Description |
---|---|
Token |
getToken() |
void |
invalidate()
Invalidates the credential.
|
getStatus, getValidatedAccount, setStatus, setValidatedAccount
public TokenCredential(String token)
public TokenCredential(Token token)
public void invalidate()
Credentials
Invalidates the credential.
public Token getToken()
Copyright © 2018 JBoss by Red Hat. All rights reserved.