Class RegisteredClient
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.business.RegisteredClient
-
- All Implemented Interfaces:
java.io.Serializable
public class RegisteredClient extends java.lang.Object implements java.io.SerializableOAuth RegisteredClient- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisteredClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientId()Returns the ClientIdjava.lang.StringgetClientSecret()Returns the ClientSecretjava.lang.StringgetRedirectUri()Returns the RedirectUrijava.util.SetgetRedirectUris()Returns the RedirectUrisjava.util.SetgetScope()Returns the Scopejava.lang.StringgetScopes()Build a string that contains the list of scope separated by a plusjava.lang.StringgetTokenEndpointAuthMethod()Returns the TokenEndpointAuthMethodvoidsetClientId(java.lang.String strClientId)Sets the ClientIdvoidsetClientSecret(java.lang.String strClientSecret)Sets the ClientSecretvoidsetRedirectUri(java.lang.String strRedirectUri)Sets the RedirectUrivoidsetRedirectUris(java.util.Set redirectUris)Sets the RedirectUrisvoidsetScope(java.util.Set scope)Sets the ScopevoidsetTokenEndpointAuthMethod(java.lang.String strTokenEndpointAuthMethod)Sets the TokenEndpointAuthMethod
-
-
-
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
-
-