package
0.9.4
Repository: https://github.com/daos-stack/daos.git
Documentation: pkg.go.dev

# Functions

AuthSysFromAuthToken takes an opaque AuthToken and turns it into a concrete AuthSys data structure.
AuthSysRequestFromCreds takes the domain info credentials gathered during the dRPC request and creates an AuthSys security request to obtain a handle from the management service.
VerifierFromToken will return a SHA512 hash of the token data.
VerifyToken takes the auth token and the signature bytes in the verifier andverifies it against the public key provided for the agent who claims to haveprovided the token.

# 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

# Structs

Token and verifier are expected to have the same flavor type.
GetCredResp represents the result of a request to fetch authentication credentials.
Token structure for AUTH_SYS flavor cred.
No description provided by the author
ValidateCredReq represents a request to verify a set of authentication credentials.
ValidateCredResp represents the result of a request to validate authentication credentials.

# Interfaces

User is an interface wrapping a representation of a specific system user.
UserExt is an interface that wraps system user-related external functions.

# Type aliases

Types of authentication token.