package
0.9.2
Repository: https://github.com/oidc-mytoken/server.git
Documentation: pkg.go.dev

# Packages

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

# Functions

BadRequestError creates an Error for bad request errors.
ErrorToBadRequestErrorResponse creates a bad request error response from a golang error.
ErrorToInternalServerErrorResponse creates an internal server error response from a golang error.
ErrorWithErrorDescription creates an Error from an error string and golang error.
ErrorWithoutDescription creates an Error from an error string.
InternalServerError creates an Error for internal server errors.
InvalidTokenError creates an Error for invalid token errors.
NewGrantType creates a new GrantType from the grant type string.
NewOIDCFlow creates a new OIDCFlow from the flow string.
NewResponseType creates a new ResponseType from the given response type string.
NewRestrictionClaim creates a new RestrictionClaim from the grant type string.
NewTokeninfoAction creates a new TokeninfoAction from the tokeninfo action string.
OIDCError creates an Error for oidc related errors.
OIDCErrorFromBody creates an Error for oidc related errors from the response of an oidc provider.
OIDCFlowIsInSlice checks if a OIDCFlow is present in a slice of OIDCFlows.

# Constants

Defined attributes.
Defined attributes.
Defined attributes.
No description provided by the author
No description provided by the author
GrantTypes.
GrantTypes.
GrantTypes.
GrantTypes.
GrantTypes.
OIDCFlows.
ResponseTypes.
ResponseTypes.
ResponseTypes.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
TokeninfoActions.
TokeninfoActions.
TokeninfoActions.
TokeninfoActions.

# Variables

AllGrantTypes holds all defined GrantType strings.
AllRestrictionClaims holds all defined RestrictionClaims.
AllRestrictionClaimStrings holds all defined RestrictionClaim strings.
AllTokeninfoActions holds all defined TokenInfo strings.
Attributes holds all defined attributes.
ResponseNYI is the server response when something is not yet implemented.

# Structs

No description provided by the author
Response models a http server response.

# Interfaces

No description provided by the author

# Type aliases

GrantType is an enum like type for grant types.
OIDCFlow is a enum like type for oidc flows.
ResponseType is a enum like type for response types.
RestrictionClaim is an enum like type for restriction keys.
RestrictionClaims is a slice of RestrictionClaim.
TokeninfoAction is an enum like type for tokeninfo actions.