Class RegisteredClient

  • All Implemented Interfaces:
    java.io.Serializable

    public class RegisteredClient
    extends java.lang.Object
    implements java.io.Serializable
    OAuth RegisteredClient
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClientId()
      Returns the ClientId
      java.lang.String getClientSecret()
      Returns the ClientSecret
      java.lang.String getRedirectUri()
      Returns the RedirectUri
      java.util.Set getRedirectUris()
      Returns the RedirectUris
      java.util.Set getScope()
      Returns the Scope
      java.lang.String getScopes()
      Build a string that contains the list of scope separated by a plus
      java.lang.String getTokenEndpointAuthMethod()
      Returns the TokenEndpointAuthMethod
      void setClientId​(java.lang.String strClientId)
      Sets the ClientId
      void setClientSecret​(java.lang.String strClientSecret)
      Sets the ClientSecret
      void setRedirectUri​(java.lang.String strRedirectUri)
      Sets the RedirectUri
      void setRedirectUris​(java.util.Set redirectUris)
      Sets the RedirectUris
      void setScope​(java.util.Set scope)
      Sets the Scope
      void setTokenEndpointAuthMethod​(java.lang.String strTokenEndpointAuthMethod)
      Sets the TokenEndpointAuthMethod
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegisteredClient

        public RegisteredClient()
    • Method Detail

      • getClientId

        public java.lang.String getClientId()
        Returns the ClientId
        Returns:
        The ClientId
      • setClientId

        public void setClientId​(java.lang.String strClientId)
        Sets the ClientId
        Parameters:
        strClientId - The ClientId
      • getClientSecret

        public java.lang.String getClientSecret()
        Returns the ClientSecret
        Returns:
        The ClientSecret
      • setClientSecret

        public void setClientSecret​(java.lang.String strClientSecret)
        Sets the ClientSecret
        Parameters:
        strClientSecret - The ClientSecret
      • getTokenEndpointAuthMethod

        public java.lang.String getTokenEndpointAuthMethod()
        Returns the TokenEndpointAuthMethod
        Returns:
        The TokenEndpointAuthMethod
      • setTokenEndpointAuthMethod

        public void setTokenEndpointAuthMethod​(java.lang.String strTokenEndpointAuthMethod)
        Sets the TokenEndpointAuthMethod
        Parameters:
        strTokenEndpointAuthMethod - The TokenEndpointAuthMethod
      • getScope

        public java.util.Set getScope()
        Returns the Scope
        Returns:
        The Scope
      • setScope

        public void setScope​(java.util.Set scope)
        Sets the Scope
        Parameters:
        scope - The Scope
      • getRedirectUri

        public java.lang.String getRedirectUri()
        Returns the RedirectUri
        Returns:
        The RedirectUri
      • setRedirectUri

        public void setRedirectUri​(java.lang.String strRedirectUri)
        Sets the RedirectUri
        Parameters:
        strRedirectUri - The RedirectUri
      • getRedirectUris

        public java.util.Set getRedirectUris()
        Returns the RedirectUris
        Returns:
        The RedirectUris
      • setRedirectUris

        public void setRedirectUris​(java.util.Set redirectUris)
        Sets the RedirectUris
        Parameters:
        redirectUris - The RedirectUris
      • getScopes

        public java.lang.String getScopes()
        Build a string that contains the list of scope separated by a plus
        Returns:
        The scopes