Class OAuth2Params


  • public class OAuth2Params
    extends ThirdPartyParams
    This class represents all the possible OAuth 2.0 parameters.
    Since:
    EMS 10.4.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OAUTH2_ACCESS_TOKEN_FILE_PARAM
      String parameter for the OAuth 2.0 access token file path (routes and FT only).
      static java.lang.String OAUTH2_CLIENT_ID_PARAM
      String parameter for the OAuth 2.0 client ID.
      static java.lang.String OAUTH2_CLIENT_SECRET_PARAM
      String parameter for the OAuth 2.0 client secret.
      static java.lang.String OAUTH2_DISABLE_VERIFY_HOSTNAME_PARAM
      Boolean parameter indicating whether or not the hostname in the secure OAuth 2.0 authorization server host's certificate should be disabled.
      static java.lang.String OAUTH2_EXPECTED_HOSTNAME_PARAM
      String parameter for the expected hostname of the secure OAuth 2.0 authorization server.
      static java.lang.String OAUTH2_GRANT_TYPE_PARAM
      String parameter for the OAuth 2.0 grant type (routes and FT only).
      static java.lang.String OAUTH2_SERVER_TRUST_FILE_PARAM
      String parameter for the trusted certificates file to verify the secure OAuth 2.0 authorization server.
      static java.lang.String OAUTH2_SERVER_URL_PARAM
      String parameter for the OAuth 2.0 authorization server URL.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Generate a string representation of parameters.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • OAUTH2_ACCESS_TOKEN_FILE_PARAM

        public static final java.lang.String OAUTH2_ACCESS_TOKEN_FILE_PARAM
        String parameter for the OAuth 2.0 access token file path (routes and FT only).
        See Also:
        Constant Field Values
      • OAUTH2_SERVER_URL_PARAM

        public static final java.lang.String OAUTH2_SERVER_URL_PARAM
        String parameter for the OAuth 2.0 authorization server URL.
        See Also:
        Constant Field Values
      • OAUTH2_GRANT_TYPE_PARAM

        public static final java.lang.String OAUTH2_GRANT_TYPE_PARAM
        String parameter for the OAuth 2.0 grant type (routes and FT only).
        See Also:
        Constant Field Values
      • OAUTH2_CLIENT_ID_PARAM

        public static final java.lang.String OAUTH2_CLIENT_ID_PARAM
        String parameter for the OAuth 2.0 client ID.
        See Also:
        Constant Field Values
      • OAUTH2_CLIENT_SECRET_PARAM

        public static final java.lang.String OAUTH2_CLIENT_SECRET_PARAM
        String parameter for the OAuth 2.0 client secret.
        See Also:
        Constant Field Values
      • OAUTH2_SERVER_TRUST_FILE_PARAM

        public static final java.lang.String OAUTH2_SERVER_TRUST_FILE_PARAM
        String parameter for the trusted certificates file to verify the secure OAuth 2.0 authorization server.
        See Also:
        Constant Field Values
      • OAUTH2_DISABLE_VERIFY_HOSTNAME_PARAM

        public static final java.lang.String OAUTH2_DISABLE_VERIFY_HOSTNAME_PARAM
        Boolean parameter indicating whether or not the hostname in the secure OAuth 2.0 authorization server host's certificate should be disabled.
        See Also:
        Constant Field Values
      • OAUTH2_EXPECTED_HOSTNAME_PARAM

        public static final java.lang.String OAUTH2_EXPECTED_HOSTNAME_PARAM
        String parameter for the expected hostname of the secure OAuth 2.0 authorization server.
        See Also:
        Constant Field Values
    • Method Detail

      • toString

        public java.lang.String toString()
        Generate a string representation of parameters.
        Overrides:
        toString in class ThirdPartyParams
        Returns:
        a string representation of parameters.