Class OAuth

java.lang.Object
com.okta.sdk.resource.client.auth.OAuth
All Implemented Interfaces:
Authentication
Direct Known Subclasses:
OAuth2ClientCredentials

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class OAuth extends Object implements Authentication
  • Constructor Details

    • OAuth

      public OAuth()
  • Method Details

    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)
    • applyToParams

      public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams)
      Description copied from interface: Authentication
      Apply authentication settings to header and query params.
      Specified by:
      applyToParams in interface Authentication
      Parameters:
      queryParams - List of query parameters
      headerParams - Map of header parameters
      cookieParams - Map of cookie parameters