Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbedFS embed.FS
Functions ¶
func GenerateCodeChallenge ¶
GenerateCodeChallenge generates the S256 code challenge from the verifier.
func GenerateCodeVerifier ¶
GenerateCodeVerifier generates a securely random code verifier.
func StartOIDCServer ¶
Types ¶
type CallbackPageInfo ¶
type CallbackPageInfo struct {
LoginType string
ErrorTitle string
ErrorDescription string
AccountTokenResponse *authentication.AccountManagementAuthenticationTokenResponse
CustomerTokenResponse *authentication.CustomerTokenResponse
AccountTokenStructBase64 []string
CustomerTokenStructBase64 string
}
func GetCallbackData ¶
type LoginPageInfo ¶
type LoginPageInfo struct {
CustomerProfiles []OidcProfileInfo
CustomerClientId string
AccountProfiles []OidcProfileInfo
AccountClientId string
RedirectUriUnencoded string
RedirectUriEncoded string
State string
CodeVerifier string
CodeChallenge string
}
func GetIndexData ¶
func GetIndexData(ctx context.Context, port uint16) (*LoginPageInfo, error)
type OidcProfileInfo ¶
Click to show internal directories.
Click to hide internal directories.