package
0.38.1
Repository: https://github.com/determined-ai/determined.git
Documentation: pkg.go.dev

# Functions

CreateAccessToken creates a new access token and store in user_sessions db.
GetUserIDFromTokenID retrieves the userID associated with the provided tokenID.
UpdateAccessToken updates the description and revocation status of the access token.
WithTokenDescription function will add specified description (if any) to the access token table.
WithTokenExpiry adds specified expiresAt (if any) to the access token table.

# Variables

AuthZProvider is the authz registry for `token` package.

# Structs

AccessTokenUpdateOptions is the set of mutable fields for an Access Token record.
TokenAuthZBasic is basic OSS controls.
TokenAuthZPermissive is an authz provider that calls RBAC for side effects.
TokenAuthZRBAC is the RBAC implementation of user authorization.

# Interfaces

TokenAuthZ describes authz methods for `accesstoken` package.

# Type aliases

AccessTokenOption modifies a model.UserSession to apply optional settings to the AccessToken object.