Documentation ¶
Index ¶
- func IssuerToSlug(issuer string) (string, error)
- func RemoveBySlug(slug string) error
- func Save(server Server) error
- func Update(server Server) error
- type Server
- func (s Server) GenerateCodeVerifier() (string, string, string, error)
- func (s Server) GetAuthorizationEndpoint() string
- func (s Server) GetSupportedCodeChallengeMethods() []string
- func (s Server) GetSupportedResponseTypes() []string
- func (s Server) GetSupportedScopes() []string
- func (s Server) GetSupportedTokenEndpointAuthMethods() []string
- func (s Server) GetTokenEndpoint() string
- func (s Server) GetTokenEndpointAuthMethod() string
- func (s Server) IsPkceMethodS256Supported() bool
- func (s Server) IsPkceSupported() bool
- type Servers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IssuerToSlug ¶
func RemoveBySlug ¶
Types ¶
type Server ¶
type Server struct { Slug string Type string CreatedAt time.Time `yaml:"created_at"` Metadata map[string]any }
func (Server) GenerateCodeVerifier ¶
func (Server) GetAuthorizationEndpoint ¶
func (Server) GetSupportedCodeChallengeMethods ¶
func (Server) GetSupportedResponseTypes ¶
func (Server) GetSupportedScopes ¶
func (Server) GetSupportedTokenEndpointAuthMethods ¶
func (Server) GetTokenEndpoint ¶
func (Server) GetTokenEndpointAuthMethod ¶
func (Server) IsPkceMethodS256Supported ¶
func (Server) IsPkceSupported ¶
Click to show internal directories.
Click to hide internal directories.