IGrantTypeInformer Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Common.Interfaces
IGrantTypeInformer Interface
Provides information about OAuth 2.0 grant types supported by a component. Components implementing this interface can be registered in dependency injection to contribute their supported grant types to the OpenID Connect discovery endpoint.
public interface IGrantTypeInformer
Derived
↳ AuthorizationCodeBuilder
↳ IAuthorizationResponseBuilder
↳ AuthorizationCodeGrantHandler
↳ BackChannelAuthenticationGrantHandler
↳ ClientCredentialsGrantHandler
↳ CompositeAuthorizationGrantHandler
↳ DeviceCodeGrantHandler
↳ IAuthorizationGrantHandler
↳ JwtBearerGrantHandler
↳ PasswordGrantHandler
↳ RefreshTokenGrantHandler
↳ TokenExchangeGrantHandler
↳ IdTokenResponseBuilder
↳ TokenResponseBuilder
↳ NoneResponseBuilder
Remarks
This interface enables the discovery endpoint to automatically aggregate all supported grant types from various components (authorization endpoint handlers, token endpoint handlers, etc.) without requiring manual configuration.
Properties
IGrantTypeInformer.GrantTypesSupported Property
The grant types supported by this component, as defined in OAuth 2.0 and OpenID Connect specifications.
System.Collections.Generic.IEnumerable<string> GrantTypesSupported { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
Remarks
Common grant types include:
- "authorization_code" - Authorization Code Grant
- "implicit" - Implicit Grant
- "refresh_token" - Refresh Token Grant
- "client_credentials" - Client Credentials Grant
- "password" - Resource Owner Password Credentials Grant