public abstract static class CustomTokenProvider.CustomTokenProviderBuilder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider> extends java.lang.Object implements CustomTokenProvider.Builder<SELF,T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
schemeName
the name of authentication scheme
|
| Constructor and Description |
|---|
CustomTokenProviderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Builds the instance of the CustomTokenProvider.
|
protected abstract T |
internalBuild()
Builds the instance of the CustomTokenProvider.
|
SELF |
withSchemeName(java.lang.String schemeName)
Sets the scheme name for the CustomTokenProvider.
|
public SELF withSchemeName(java.lang.String schemeName)
Scheme name is the name of the authentication scheme. For example, "Bearer" or "Basic".
withSchemeName in interface CustomTokenProvider.Builder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>schemeName - The scheme name for the CustomTokenProvider.public T build()
build in interface CustomTokenProvider.Builder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>protected abstract T internalBuild()