# Functions
NewCapabilities casts a []string into Capabilities.
NewCapability casts a string into a Capability.
NewIncludedProfiles creates a new IncludedProfiles var from the past profile names.
TightenCapabilities tightens two set of Capabilities into one new.
# Constants
No description provided by the author
Client types.
Client types.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Additional Mytoken errors.
Predefined OAuth2/OIDC errors.
Additional Mytoken errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Additional Mytoken errors.
Additional Mytoken errors.
Predefined OAuth2/OIDC errors.
Predefined OAuth2/OIDC errors.
Additional Mytoken errors.
GrantTypes.
GrantTypes.
GrantTypes.
GrantTypes.
GrantTypes.
MinShortTokenLen is the minimum length of a short token.
No description provided by the author
No description provided by the author
OIDCFlows.
ResponseTypes.
ResponseTypes.
ResponseTypes.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
RestrictionClaims.
ssh payload mimetypes.
ssh payload mimetypes.
ssh request types.
ssh request types.
ssh request types.
ssh request types.
ssh request types.
ssh request types.
TokeninfoActions.
TokeninfoActions.
TokeninfoActions.
TokeninfoActions.
TokenType is a constant that can be used for identifying mytokens and to distinguish them from OIDC tokens.
# Variables
AllCapabilities holds all defined Capabilities.
AllGrantTypes holds all the GrantTypes.
AllRestrictionClaims holds all the RestrictionClaims.
AllTokeninfoActions holds all defined TokenInfo strings.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
Defined Capabilities.
DefaultCapabilities holds the default Capabilities.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
TokenVer is the current Mytoken TokenVersion.
# Structs
AccessTokenRequest holds an request for an access token.
AccessTokenResponse is the response to a access token request.
AuthCodeFlowRequest holds a authorization code flow request.
AuthCodeFlowResponse is the response to an authorization code flow request.
Capability is a capability string.
ClientMetaData hold information about the calling client.
CreateTransferCodeRequest is a request to create a new transfer code from an existing mytoken.
Error is an error object that is returned on the api when an error occurs.
EventEntry is a type holding information about an event.
EventHistory is a slice of EventEntry.
ExchangeTransferCodeRequest is a request to exchange a transfer code for the mytoken.
GeneralMytokenRequest is a type that holds all the information that all mytoken requests have in common.
GrantTypeInfo is a struct holding information indicating if a grant type is enabled or not.
No description provided by the author
GrantTypeRequest is a request object for grant type requests at the grant type settings endpoint.
Mytoken is a mytoken Mytoken.
MytokenConfiguration holds information about a mytoken instance.
MytokenEntry holds the information of a MytokenEntry as stored in the database.
MytokenEntryTree is a tree of MytokenEntry.
MytokenFromMytokenRequest is a request to create a new Mytoken from an existing Mytoken.
MytokenResponse is a response to a mytoken request.
OIDCFlowRequest holds the request for an OIDC Flow request.
OnlyTokenUpdateResponse is a type for responses that do not contain any content except for a ( possibly) updated mytoken.
PollingCodeRequest is a polling code request.
PollingInfo holds all response information about polling codes.
No description provided by the author
Restriction describes a token usage restriction.
RevocationRequest holds the information for a token revocation request.
Rotation is a type describing how a mytoken might be rotated.
No description provided by the author
No description provided by the author
SSHKeyAddFinalResponse is a type for the final response for an SSHKeyAddRequest after the polling was successful.
No description provided by the author
SSHKeyAddResponse is a type for the (first) response to an SSHKeyAddRequest.
No description provided by the author
No description provided by the author
SSHKeyMetadata holds information about an ssh key.
SupportedProviderConfig holds information about a provider.
TokeninfoHistoryResponse is a type for the response for a history request.
TokeninfoIntrospectResponse is a type for the response for an introspect request.
TokeninfoListResponse is a type for the response for a list request.
TokenInfoRequest is a type for requests to the tokeninfo endpoint.
TokeninfoSubtokensResponse is a type for the response for a tree request.
TokenVersion is a type for the mytoken version.
TransferCodeResponse is the response to a transfer code request.
UsedMytoken is a type for a Mytoken that has been used, it additionally has information how often it has been used.
UsedRestriction is a type for a restriction that has been used and additionally has information how often it has been used.
# Type aliases
Capabilities is a slice of Capability.
No description provided by the author
Restrictions is a slice of Restriction.