public class FromRunAsIdFileProvider extends AbstractClientAuthorizationRequestProvider implements ClientAuthorizationRequestProvider
| Constructor and Description |
|---|
FromRunAsIdFileProvider() |
FromRunAsIdFileProvider(Clock clock) |
FromRunAsIdFileProvider(Clock clock,
String tokenUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected HttpProvider.HttpRequestAuthorizer |
getAuthorizer() |
HttpProvider.HttpRequestAuthorizer |
getClientAuthorizer()
Gets the
HttpRequestAuthorizer that the client will use
to authorize access token requests. |
HttpConstants.HttpMethods |
getHttpMethod()
Get the HTTP Method used to obtain authorization.
|
AccessTokenRequest |
getNewAccessTokenRequest()
Gets a new AccessTokenRequest to authorize this client to obtain
an Access Token.
|
protected IdentityTokenRequest |
getRequest() |
String |
getScope()
Get the token scope.
|
String |
getTokenEndpointUrl()
Gets the url of the token endpoint for this OAuth 2.0 Provider.
|
protected void |
verifyFileIsReadable() |
getClockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClockpublic FromRunAsIdFileProvider()
public FromRunAsIdFileProvider(Clock clock)
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 AccessTokenRequest getNewAccessTokenRequest()
getNewAccessTokenRequest in interface ClientAuthorizationRequestProviderprotected void verifyFileIsReadable()
protected HttpProvider.HttpRequestAuthorizer getAuthorizer()
protected IdentityTokenRequest getRequest()
public HttpConstants.HttpMethods getHttpMethod()
getHttpMethod in interface ClientAuthorizationRequestProviderpublic String getScope()
getScope in interface ClientAuthorizationRequestProviderCopyright © 2022 HERE Europe B.V. All Rights Reserved.