Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlowNormal = "normal" FlowDevice = "device" FlowToken = "token" )
Variables ¶
This section is empty.
Functions ¶
func GetCert ¶
func GetCert(ctx context.Context, priv *ecdsa.PrivateKey, idToken, flow, oidcIssuer, oidcClientID 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.
Types ¶
Click to show internal directories.
Click to hide internal directories.