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.RequestAuthenticator
com.okta.commons.http.authc.RequestAuthenticationException
Copyright © 2017–2023 Okta. All rights reserved.