public abstract class CustomTokenProvider
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
protected static interface  | 
CustomTokenProvider.Builder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>
Builder interface for configuring and creating instances of CustomTokenProvider. 
 | 
static class  | 
CustomTokenProvider.CustomTokenProviderBuilder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>
Builder class for configuring and creating instances of CustomTokenProvider. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
schemeName
The name of authentication scheme. 
 | 
| Constructor and Description | 
|---|
CustomTokenProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
protected abstract java.lang.String | 
getCustomTokenInfo()
Gets the custom token information. 
 | 
byte[] | 
getTokenData()
Acquire the data of token for authentication. 
 | 
boolean | 
hasTokenData()
Judge whether AuthDataProvider can provide token data. 
 | 
public boolean hasTokenData()
public byte[] getTokenData()
public void close()
           throws java.io.IOException
java.io.IOExceptionprotected abstract java.lang.String getCustomTokenInfo()