Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlowNormal = "normal" FlowDevice = "device" FlowToken = "token" // spacing is intentional to have this indented PrivacyStatement = `` /* 345-byte string literal not displayed */ PrivacyStatementConfirmation = "" /* 154-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func GetCert ¶
func GetCert(ctx context.Context, priv *ecdsa.PrivateKey, idToken, flow, oidcIssuer, oidcClientID, oidcClientSecret, oidcRedirectURL string, fClient api.Client) (*api.CertificateResponse, error)
GetCert returns the PEM-encoded signature of the OIDC identity returned as part of an interactive oauth2 flow plus the PEM-encoded cert chain.
func GetIntermediates ¶ added in v1.8.0
Types ¶
Click to show internal directories.
Click to hide internal directories.