Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSignerFromFile ¶
LoadSignerFromFile loads a private-key for signing
Supports JSON (JWK/JWS) and PEM
Types ¶
type Bootstrap ¶
Bootstrap is a data structure to hold configuration required to start konnectd.
func Boot ¶
Boot is the main entry point to bootstrap the konnectd service after validating the given configuration. The resulting Bootstrap struct can be used to retrieve configured identity-managers and their respective http-handlers and config.
This function should be used by consumers which want to embed konnect as a library.
type Config ¶
type Config struct { Iss string IdentityManager string URIBasePath string SignInURI string SignedOutURI string AuthorizationEndpointURI string EndsessionEndpointURI string Insecure bool TrustedProxy []string AllowScope []string AllowClientGuests bool AllowDynamicClientRegistration bool EncryptionSecretFile string Listen string IdentifierClientDisabled bool IdentifierClientPath string IdentifierRegistrationConf string IdentifierScopesConf string SigningKid string SigningMethod string SigningPrivateKeyFiles []string ValidationKeysPath string CookieBackendURI string CookieNames []string AccessTokenDurationSeconds uint64 IDTokenDurationSeconds uint64 RefreshTokenDurationSeconds uint64 }
Config is a typed application config which represents the user accessible config params
Click to show internal directories.
Click to hide internal directories.