Interface OAuth2GrantTypeFactory

All Superinterfaces:
org.keycloak.provider.ProviderFactory<OAuth2GrantType>

public interface OAuth2GrantTypeFactory extends org.keycloak.provider.ProviderFactory<OAuth2GrantType>
Provider interface for OAuth 2.0 grant types
Author:
Dmitry Telegin
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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.