package
1.0.0
Repository: https://github.com/suared/core.git
Documentation: pkg.go.dev

# Functions

GetAuth - returns Auth from the provided context.
IsAnonymous - if security context is not set or user is empty or the string anonymousit will return true/ not logged in.
SetupAuthFromHTTP - Enables Auth for later retrieval in the request flow, value added to returned Context.
SetupTestAuthFromContext - Enables Auth for later retrieval in the request flow, , value added to returned Context.

# Structs

BasicAuth - authentication data holder.
JWK is json data struct for JSON Web Key.
JWKKey is json data struct for cognito jwk key.

# Interfaces

Auth - Interface for setting up and retrieving authentication data.