package
0.18.0
Repository: https://github.com/hashicorp/boundary.git
Documentation: pkg.go.dev

# Functions

CalculateAuthorizedCollectionActions returns authorized actions for the given inputs.
DisabledAuthTestContext is meant for testing, and uses a context that has auth checking entirely disabled.
GetRequestInfo extracts the request info stored in the context, if it exists.
GetTokenFromRequest pulls the token from either the Authorization header or split cookies and parses it.
NewVerifierContext creates a context that carries a verifier object from the HTTP handlers to the gRPC service handlers.
TODO (jefferai 10/2022): NewVerifierContextWithAccounts performs the function of NewVerifierContext (see the docs for that function) but with extra parameters that can be used to look up account information.
Verify takes in a context that has expected parameters as values and runs an authn/authz check.
No description provided by the author
WithActions specifies a list of actions in the request.
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
WithResource specifies a resource to use.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Came in via the Authentication: Bearer header.
It's of recovery type.
Came in via split cookies.
We weren't given one or couldn't parse it.
CallbackAction represents the action type for callback operations in a request's URL path.

# Structs

No description provided by the author

# Type aliases

Option - how Options are passed as arguments.
No description provided by the author