public static class DefaultOAuth2TokenProvider.Builder extends OAuth2TokenProvider.OAuth2TokenProviderBuilder<DefaultOAuth2TokenProvider.Builder,DefaultOAuth2TokenProvider>
client
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
protected DefaultOAuth2TokenProvider |
internalBuild() |
DefaultOAuth2TokenProvider.Builder |
withCredential(java.lang.String credential)
Sets the credential for the HTTP token requests.
|
DefaultOAuth2TokenProvider.Builder |
withPath(java.lang.String path)
Sets the path for the HTTP token requests.
|
DefaultOAuth2TokenProvider.Builder |
withScope(java.lang.String scope)
Sets the scope for the HTTP token requests.
|
build, withUri
public DefaultOAuth2TokenProvider.Builder withScope(java.lang.String scope)
scope
- The scope for the HTTP token requests.public DefaultOAuth2TokenProvider.Builder withPath(java.lang.String path)
path
- The path for the HTTP token requests.public DefaultOAuth2TokenProvider.Builder withCredential(java.lang.String credential)
credential
- The credential for the HTTP token requests.protected DefaultOAuth2TokenProvider internalBuild()