# Packages
No description provided by the author
# Functions
EncryptToken is a shared function for encrypting a token value for return to the user.
List lists up to page size auth tokens, filtering out entries that do not pass the filter item function.
ListPage lists up to page size auth tokens, filtering out entries that do not pass the filter item function.
ListRefresh lists up to page size auth tokens, filtering out entries that do not pass the filter item function.
ListRefreshPage lists up to page size auth tokens, filtering out entries that do not pass the filter item function.
NewAuthTokenId creates a new id for an auth token.
NewRepository creates a new Repository.
TestAuthToken, despite its name, does more than just return an auth token; it also creates an auth method, an account, and a user and binds them together, then creates an auth token against it.
WithIamOptions allows passing through options for the IAM package.
WithLimit provides an option to provide a limit.
WithPasswordOptions allows passing through options for the password package.
WithPublicId allows the setting of the auth token's public id.
WithStartPageAfterItem is used to paginate over the results.
WithStatus allows setting of the auth token's Status.
WithTokenTimeToLiveDuration allows setting the auth token time-to-live.
WithTokenTimeToStaleDuration allows setting the auth token staleness duration.
# Constants
FailedStatus means the token is in a failed status before it was issued and this is a final status.
IssuedStatus means the token has been issued.
PendingStatus means that the token has been created but it pending while waiting to be issued.
SystemErrorStatus means that the system encountered an error before issuing the token.
The version prefix is used to differentiate token versions just for future proofing.
UnknownStatus for the token.
# Structs
A AuthToken contains auth tokens.
A Repository stores and retrieves the persistent types in the authtoken package.