Interface SecureGrant
- All Known Implementing Classes:
AbstractClientSecureGrant,AuthorizationCodeGrant,ClientCredentialsGrant,PasswordGrant,SecureGrantMap
public interface SecureGrant
A contract for a grant that requires authentication.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetClientId(String clientId) Sets the client id in the grant.voidsetClientSecret(String clientSecret) Sets the client secret in the grant.
-
Field Details
-
KEY_CLIENT_ID
- See Also:
-
KEY_CLIENT_SECRET
- See Also:
-
-
Method Details
-
setClientId
Sets the client id in the grant.- Parameters:
clientId- The client id
-
setClientSecret
Sets the client secret in the grant.- Parameters:
clientSecret- The client secret
-