public class FromHereCredentialsIniStream extends ClientCredentialsGrantRequestProvider implements ClientAuthorizationRequestProvider
| Constructor and Description |
|---|
FromHereCredentialsIniStream(Clock clock,
InputStream inputStream) |
FromHereCredentialsIniStream(Clock clock,
InputStream inputStream,
String sectionName) |
FromHereCredentialsIniStream(InputStream inputStream) |
FromHereCredentialsIniStream(InputStream inputStream,
String sectionName) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequestAuthorizer |
getClientAuthorizer()
Gets the
HttpRequestAuthorizer that the client will use
to authorize access token requests. |
protected static ClientAuthorizationRequestProvider |
getClientCredentialsProvider(Clock clock,
InputStream inputStream,
String sectionName) |
protected static ClientAuthorizationRequestProvider |
getClientCredentialsProvider(InputStream inputStream,
String sectionName)
Deprecated.
|
protected ClientAuthorizationRequestProvider |
getDelegate() |
HttpConstants.HttpMethods |
getHttpMethod()
Get the HTTP Method used to obtain authorization.
|
String |
getScope()
Get the token scope.
|
String |
getTokenEndpointUrl()
Gets the url of the token endpoint for this OAuth 2.0 Provider.
|
getNewAccessTokenRequestgetClockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClock, getNewAccessTokenRequestpublic FromHereCredentialsIniStream(Clock clock, InputStream inputStream)
public FromHereCredentialsIniStream(InputStream inputStream)
public FromHereCredentialsIniStream(InputStream inputStream, String sectionName)
public FromHereCredentialsIniStream(Clock clock, InputStream inputStream, String sectionName)
protected ClientAuthorizationRequestProvider getDelegate()
protected static ClientAuthorizationRequestProvider getClientCredentialsProvider(InputStream inputStream, String sectionName)
getClientCredentialsProvider(Clock, InputStream, String)inputStream - the input streamsectionName - the section nameprotected static ClientAuthorizationRequestProvider getClientCredentialsProvider(Clock clock, InputStream inputStream, String sectionName)
public String getTokenEndpointUrl()
getTokenEndpointUrl in interface ClientAuthorizationRequestProviderpublic HttpProvider.HttpRequestAuthorizer getClientAuthorizer()
HttpRequestAuthorizer that the client will use
to authorize access token requests.getClientAuthorizer in interface ClientAuthorizationRequestProviderpublic HttpConstants.HttpMethods getHttpMethod()
getHttpMethod in interface ClientAuthorizationRequestProviderpublic String getScope()
getScope in interface ClientAuthorizationRequestProviderCopyright © 2020 HERE Europe B.V. All Rights Reserved.