Class ClientDetails
- java.lang.Object
-
- org.motechproject.mots.domain.security.ClientDetails
-
- All Implemented Interfaces:
java.io.Serializable,org.springframework.security.oauth2.provider.ClientDetails
public class ClientDetails extends java.lang.Object implements org.springframework.security.oauth2.provider.ClientDetails- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientDetails(Client client)Initializes ClientDetails with properties from given client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getRegisteredRedirectUri()booleanisAutoApprove(java.lang.String scope)booleanisScoped()booleanisSecretRequired()
-
-
-
Constructor Detail
-
ClientDetails
public ClientDetails(Client client)
Initializes ClientDetails with properties from given client.- Parameters:
client- instance of custom Client
-
-
Method Detail
-
isSecretRequired
public boolean isSecretRequired()
- Specified by:
isSecretRequiredin interfaceorg.springframework.security.oauth2.provider.ClientDetails
-
isScoped
public boolean isScoped()
- Specified by:
isScopedin interfaceorg.springframework.security.oauth2.provider.ClientDetails
-
getRegisteredRedirectUri
public java.util.Set<java.lang.String> getRegisteredRedirectUri()
- Specified by:
getRegisteredRedirectUriin interfaceorg.springframework.security.oauth2.provider.ClientDetails
-
isAutoApprove
public boolean isAutoApprove(java.lang.String scope)
- Specified by:
isAutoApprovein interfaceorg.springframework.security.oauth2.provider.ClientDetails
-
-