Class OAuthProperties


  • public final class OAuthProperties
    extends Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String AUDIENCE
      The oauth audience, who this token is intended for.
      static String CERTIFICATE
      When using oauth with Azure Active Directory, Client Credentials, and using JWT authentication, the certificate associated with the Private Key must be provided.
      static String CREDENTIAL_TYPE
      Specify if credentials are id + private key or if you are reusing an oauth2 token.
      static String JWS_ALG
      The JSON Web Signature alg, must be RS256 or none.
      static String RESOURCE
      When using oauth with Azure Active Directory and Client Credentials, a "resource" must be specified as part of the request.
    • Field Detail

      • AUDIENCE

        public static final String AUDIENCE
        The oauth audience, who this token is intended for. For instance in JWT and for google API's this property maps to: {"aud","https://accounts.google.com/o/oauth2/token"}
        See Also:
        doc, Constant Field Values
      • RESOURCE

        public static final String RESOURCE
        When using oauth with Azure Active Directory and Client Credentials, a "resource" must be specified as part of the request.
        See Also:
        doc, Constant Field Values
      • CERTIFICATE

        public static final String CERTIFICATE
        When using oauth with Azure Active Directory, Client Credentials, and using JWT authentication, the certificate associated with the Private Key must be provided. The fingerprint of the certificate is included in the JWT headers.
        See Also:
        Constant Field Values