Interface OAuth2GrantTypeFactory

All Superinterfaces:
ProviderFactory<OAuth2GrantType>
All Known Implementing Classes:
AuthorizationCodeGrantTypeFactory, CibaGrantTypeFactory, ClientCredentialsGrantTypeFactory, DeviceGrantTypeFactory, PermissionGrantTypeFactory, PreAuthorizedCodeGrantTypeFactory, RefreshTokenGrantTypeFactory, ResourceOwnerPasswordCredentialsGrantTypeFactory, TokenExchangeGrantTypeFactory

public interface OAuth2GrantTypeFactory extends ProviderFactory<OAuth2GrantType>
Provider interface for OAuth 2.0 grant types
Author:
Dmitry Telegin
  • 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.