Documentation
¶
Overview ¶
Package uiauth provides first-party OpenID Connect sessions for simulator operator interfaces without changing any simulated cloud API route.
Index ¶
Constants ¶
const ( LoginPath = "/auth/oidc/login" CallbackPath = "/auth/oidc/callback" SessionPath = "/auth/session" FederationSubjectPath = "/auth/federation-subject" LogoutPath = "/auth/logout" FrontchannelLogoutPath = "/auth/oidc/frontchannel-logout" BackchannelLogoutPath = "/auth/oidc/backchannel-logout" LogoutCompletePath = "/auth/shauth/logout/complete" SignedOutPath = "/auth/signed-out" ValidationPath = "/auth/validation" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) OperatorAssertion ¶
OperatorAssertion returns the OpenID Connect ID token the signed-in operator authenticated with for the session bound to r, together with the identity coordinates it was issued under: the issuer that signed it and the audience (client ID) it was issued for. The console backend brokers this assertion into short-lived cloud credentials the way a real console federates a signed-in session; keeping it here means the raw assertion never leaves the server. It reports false when no operator session is present.