Versions in this module Expand all Collapse all v0 v0.7.1 Jan 15, 2026 v0.7.0 Jan 15, 2026 Changes in this version + const DCRErrorInvalidClientMetadata + const DCRErrorInvalidRedirectURI + const MaxRedirectURICount + const MaxRedirectURILength + var DefaultGrantTypes = []string + var DefaultResponseTypes = []string + var DefaultScopes = []string + func New(cfg Config) (fosite.Client, error) + func ValidateDCRRequest(req *DCRRequest) (*DCRRequest, *DCRError) + type Config struct + GrantTypes []string + ID string + Public bool + RedirectURIs []string + ResponseTypes []string + Scopes []string + Secret string + type DCRError struct + Error string + ErrorDescription string + func ValidateRedirectURI(uri string) *DCRError + type DCRRequest struct + ClientName string + GrantTypes []string + RedirectURIs []string + ResponseTypes []string + TokenEndpointAuthMethod string + type DCRResponse struct + ClientID string + ClientIDIssuedAt int64 + ClientName string + GrantTypes []string + RedirectURIs []string + ResponseTypes []string + TokenEndpointAuthMethod string + type LoopbackClient struct + func NewLoopbackClient(client *fosite.DefaultClient) *LoopbackClient + func (c *LoopbackClient) GetMatchingRedirectURI(requestedURI string) string + func (c *LoopbackClient) MatchRedirectURI(requestedURI string) bool