public class OAuth2RequestAuthenticator extends Object implements com.okta.commons.http.authc.RequestAuthenticator
OAuth2ClientCredentials object if the existing one has expired.| Constructor and Description |
|---|
OAuth2RequestAuthenticator(ClientCredentials<OAuth2AccessToken> clientCredentials) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(com.okta.commons.http.Request request) |
public OAuth2RequestAuthenticator(ClientCredentials<OAuth2AccessToken> clientCredentials)
public void authenticate(com.okta.commons.http.Request request)
throws com.okta.commons.http.authc.RequestAuthenticationException
authenticate in interface com.okta.commons.http.authc.RequestAuthenticatorcom.okta.commons.http.authc.RequestAuthenticationExceptionCopyright © 2017–2023 Okta. All rights reserved.