public final class BearerTokenCredential extends Object implements Credential
Credential that usually holds a bearer security token.NO_CREDENTIALS| Constructor and Description |
|---|
BearerTokenCredential(String token)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BearerTokenCredential |
clone()
Creates and returns a copy of this
Credential. |
boolean |
equals(Object obj) |
String |
getToken()
Get the bearer security token.
|
int |
hashCode() |
finalize, getClass, notify, notifyAll, toString, wait, wait, waitcanVerify, canVerify, castAndApply, castAndApply, castAndApply, castAs, castAs, castAs, fromKeyStoreEntry, matches, matches, matches, verify, verifypublic BearerTokenCredential(String token)
token - the bearer security token (must not be null)public String getToken()
public BearerTokenCredential clone()
CredentialCredential.clone in interface Credentialclone in class ObjectCredential.Copyright © 2018 JBoss by Red Hat. All rights reserved.