package
Version:
v0.0.0-...-1dc2712
Opens a new window with list of versions in this module.
Published: Jul 21, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ClientConfig struct {
ID string `koanf:"id"`
Name string `koanf:"name"`
IssuerURL string `koanf:"issuer_url"`
ClientID string `koanf:"client_id"`
ClientSecret string `koanf:"client_secret"`
}
type Config struct {
Clients []ClientConfig `koanf:"clients"`
}
type IDToken struct {
Email string `json:"email"`
Name string `json:"name"`
GivenName string `json:"given_name"`
FamilyName string `json:"family_name"`
}
func GetIDToken(providerName, authCode, redirectURI, codeVerifier string) (idToken IDToken, err error)
type Provider struct {
ID string `json:"id"`
Name string `json:"name"`
}
type ProviderConfig struct {
AuthorizationEndpoint string `json:"authorization_endpoint"`
TokenEndpoint string `json:"token_endpoint"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.