package
2.6.6
Repository: https://github.com/gidyon/micro.git
Documentation: pkg.go.dev

# Functions

AccountIDCookie is name of cookie holding account ID of signed in user.
AddTokenMD adds token as authorization metadata to context and returns the updated context object.
DefaultAdminGroup is the default admin group.
DefaultAdminGroups returns the default administrators group.
DefaultSuperAdminGroup is the default super admin group.
DefaultUserGroup is the default user group.
Header returns authentication header.
JWTCookie is name of cookie holding jwt.
NewAPI creates a jwt authentication and authorization API using HS256 algorithm.
RefreshCookie is name of cookie holding jwt refresh token.
Scheme returns authentication scheme.
SessionIDCookie is name of cookie holding session ID of signed in user.

# Structs

Claims contains JWT claims information.
Options contains parameters for instantiating new API.
Payload contains jwt payload.

# Interfaces

API is the interface used for authentication and authorization.