public interface AccessTokenRetrieverService
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
getOAuth2AccessToken()
Obtain OAuth2 access token from Authorization Server endpoint.
|
OAuth2AccessToken getOAuth2AccessToken() throws IOException, InvalidKeyException, OAuth2TokenRetrieverException
OAuth2AccessToken
IOException
- if problems are encountered extracting the input private keyInvalidKeyException
- if supplied private key is invalidOAuth2TokenRetrieverException
- if token could not be retrievedCopyright © 2017–2023 Okta. All rights reserved.