Interface OAuth2GrantTypeFactory
- All Superinterfaces:
ProviderFactory<OAuth2GrantType>
- All Known Implementing Classes:
AuthorizationCodeGrantTypeFactory
,CibaGrantTypeFactory
,ClientCredentialsGrantTypeFactory
,DeviceGrantTypeFactory
,PermissionGrantTypeFactory
,PreAuthorizedCodeGrantTypeFactory
,RefreshTokenGrantTypeFactory
,ResourceOwnerPasswordCredentialsGrantTypeFactory
,TokenExchangeGrantTypeFactory
Provider interface for OAuth 2.0 grant types
- Author:
- Dmitry Telegin
-
Method Summary
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, dependsOn, getConfigMetadata, getId, init, order, postInit
-
Method Details
-
getShortcut
String getShortcut()- Returns:
- usually like 3-letters shortcut of specific grants. It can be useful for example in the tokens when the amount of characters should be limited and hence using full grant name is not ideal. Shortcut should be unique across grants.
-