Class OauthFieldsImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<java.lang.String>>, org.refcodes.mixin.Dumpable, FormFields, HttpFields<FormFields>

    public class OauthFieldsImpl
    extends FormFieldsImpl
    implements org.refcodes.mixin.Dumpable
    The Class OauthFieldsImpl.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      OauthFieldsImpl()
      Instantiates a new oauth fields impl.
      OauthFieldsImpl​(GrantType aGrantType, java.lang.String aClientId, java.lang.String aRefreshToken)
      Instantiates a new oauth fields impl.
      OauthFieldsImpl​(GrantType aGrantType, java.lang.String aRedirectUri, java.lang.String aUserName, java.lang.String aPassword)
      Instantiates a new oauth fields impl.
      OauthFieldsImpl​(GrantType aGrantType, java.lang.String aClientId, java.lang.String aClientSecret, java.lang.String aRedirectUri, java.lang.String aUserName, java.lang.String aPassword)
      Instantiates a new oauth fields impl.
      OauthFieldsImpl​(GrantType aGrantType, java.lang.String aClientId, java.lang.String aClientSecret, java.net.URL aRedirectUri, java.lang.String aUserName, java.lang.String aPassword)
      Instantiates a new oauth fields impl.
      OauthFieldsImpl​(GrantType aGrantType, java.net.URL aRedirectUri, java.lang.String aUserName, java.lang.String aPassword)
      Instantiates a new oauth fields impl.
    • Constructor Detail

      • OauthFieldsImpl

        public OauthFieldsImpl()
        Instantiates a new oauth fields impl.
      • OauthFieldsImpl

        public OauthFieldsImpl​(GrantType aGrantType,
                               java.net.URL aRedirectUri,
                               java.lang.String aUserName,
                               java.lang.String aPassword)
        Instantiates a new oauth fields impl.
        Parameters:
        aGrantType - the grant type
        aRedirectUri - the redirect uri
        aUserName - the user name
        aPassword - the password
      • OauthFieldsImpl

        public OauthFieldsImpl​(GrantType aGrantType,
                               java.lang.String aRedirectUri,
                               java.lang.String aUserName,
                               java.lang.String aPassword)
        Instantiates a new oauth fields impl.
        Parameters:
        aGrantType - the grant type
        aRedirectUri - the redirect uri
        aUserName - the user name
        aPassword - the password
      • OauthFieldsImpl

        public OauthFieldsImpl​(GrantType aGrantType,
                               java.lang.String aClientId,
                               java.lang.String aClientSecret,
                               java.net.URL aRedirectUri,
                               java.lang.String aUserName,
                               java.lang.String aPassword)
        Instantiates a new oauth fields impl.
        Parameters:
        aGrantType - the grant type
        aClientId - the client id
        aClientSecret - the client secret
        aRedirectUri - the redirect uri
        aUserName - the user name
        aPassword - the password
      • OauthFieldsImpl

        public OauthFieldsImpl​(GrantType aGrantType,
                               java.lang.String aClientId,
                               java.lang.String aClientSecret,
                               java.lang.String aRedirectUri,
                               java.lang.String aUserName,
                               java.lang.String aPassword)
        Instantiates a new oauth fields impl.
        Parameters:
        aGrantType - the grant type
        aClientId - the client id
        aClientSecret - the client secret
        aRedirectUri - the redirect uri
        aUserName - the user name
        aPassword - the password
      • OauthFieldsImpl

        public OauthFieldsImpl​(GrantType aGrantType,
                               java.lang.String aClientId,
                               java.lang.String aRefreshToken)
        Instantiates a new oauth fields impl.
        Parameters:
        aGrantType - the grant type
        aClientId - the client id
        aRefreshToken - the refresh token
    • Method Detail

      • getGrantType

        public GrantType getGrantType()
        Gets the grant type.
        Returns:
        the grant type
      • setGrantType

        public void setGrantType​(GrantType aGrantType)
        Sets the grant type.
        Parameters:
        aGrantType - the new grant type
      • getClientId

        public java.lang.String getClientId()
        Gets the client id.
        Returns:
        the client id
      • setClientId

        public void setClientId​(java.lang.String aClientId)
        Sets the client id.
        Parameters:
        aClientId - the new client id
      • getClientSecret

        public java.lang.String getClientSecret()
        Gets the client secret.
        Returns:
        the client secret
      • setClientSecret

        public void setClientSecret​(java.lang.String aClientSecret)
        Sets the client secret.
        Parameters:
        aClientSecret - the new client secret
      • getRedirectUri

        public java.lang.String getRedirectUri()
        Gets the redirect uri.
        Returns:
        the redirect uri
      • setRedirectUri

        public void setRedirectUri​(java.lang.String aRedirectUri)
        Sets the redirect uri.
        Parameters:
        aRedirectUri - the new redirect uri
      • getUserName

        public java.lang.String getUserName()
        Gets the user name.
        Returns:
        the user name
      • setUserName

        public void setUserName​(java.lang.String aUserName)
        Sets the user name.
        Parameters:
        aUserName - the new user name
      • getPassword

        public java.lang.String getPassword()
        Gets the password.
        Returns:
        the password
      • setPassword

        public void setPassword​(java.lang.String aPassword)
        Sets the password.
        Parameters:
        aPassword - the new password
      • getRefreshToken

        public java.lang.String getRefreshToken()
        Gets the refresh token.
        Returns:
        the refresh token
      • setRefreshToken

        public void setRefreshToken​(java.lang.String aRefreshToken)
        Sets the refresh token.
        Parameters:
        aRefreshToken - the new refresh token