package
0.0.0-20201207103852-a92fb974c6a5
Repository: https://github.com/jrockway/jsso2.git
Documentation: pkg.go.dev

# Functions

AddCredential adds a credential to the database.
AsGRPCError converts a store error to one with a gRPC status code.
CheckAndUpdateSignCount updates the sign count associated with the credential, and returns an error if it would have decreased.
Connect connects to the database.
GetUserCredentials returns a list of all currently-valid credentials associated with the provided user.
No description provided by the author
LookupSession will return the session object for a provided session ID, if the session is still valid.
LookupUser fills in the provided user object, searching by ID or Username.
No description provided by the author
RevokeSession will revoke the provided session.
UpdateSession writes a session to the database.
UpdateUser edits the provided user, creating it if it doesn't exist.
No description provided by the author
Wrap wraps an existing connection to the database.
No description provided by the author

# Constants

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

# Variables

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

# Structs

Config is environment/command-line config for storage.
Connection is a connection to storage for jsso.
No description provided by the author
No description provided by the author
No description provided by the author
Retryable allows you to explicitly mark an error as retryable.