package
0.62.0
Repository: https://github.com/libregraph/lico.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

IsErrorWithID returns true if the given error is an OAuth2Error error with the given ID.
NewEmailClaims return a new EmailClaims set from the provided jwt.Claims or nil.
NewOAuth2Error creates a new error with id and description.
NewProfileClaims return a new ProfileClaims set from the provided jwt.Claims or nil.
WriteWWWAuthenticateError writes the provided error with the provided http status code to the provided http response writer as a WWW-Authenticate header with comma separated fields for id and description.

# Constants

LibreGraphIDTokenSubjectSaltV1 is the salt value used when hashing Subjects in ID tokens created by this application.

# Structs

EmailClaims define the claims for the OIDC email scope.
IDTokenClaims define the claims found in OIDC ID Tokens.
OAuth2Error defines a general OAuth2 error with id and decription.
ProfileClaims define the claims for the OIDC profile scope.
SessionClaims define claims related to front end sessions, for example as specified by https://openid.net/specs/openid-connect-frontchannel-1_0.html.
UserInfoClaims define the claims defined by the OIDC UserInfo endpoint.