# Functions

Authorize authorizes the client session taken from the provided context against the provided requirements.

# Constants

CtxSession defines the context.Context session value key.
GQLShieldClientDebug represents the debug API user.
GQLShieldClientGuest represents a guest API user.
GQLShieldClientRegular represents the regular API user.

# Structs

IsOwner indicates that the client is required to be the owner of a resource.
IsUser indicates that the client is required to be an authenticated user.
RequestSession represents a client session.

# Interfaces

Requirement defines the authorization requirement implementation interface.

# Type aliases

CtxKey represents a context.Context value key type.
GQLShieldClientRole represents a GraphQL shield client role identifier.