Class OAuth

java.lang.Object
org.apache.nifi.api.toolkit.auth.OAuth
All Implemented Interfaces:
Authentication

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class OAuth extends Object implements Authentication
  • Field Details

    • accessToken

      private String accessToken
  • 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)
      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