package
0.1.10
Repository: https://github.com/geniusrabbit/blaze-api.git
Documentation: pkg.go.dev

# Functions

Account returns current account model.
Get session storage.
NewCrossAuthHeader from Account & User ID.
ParseCrossAuthHeader from value.
Token get token from context.
User returns current user model nolint:unused // temporary.
UserAccount returns user + account models.
WithAnonymousUserAccount puts to context user and account with anonym permissions.
WithSession context wrapper.
WithToken set token to context.
WithUserAccount puts to the context user and account models.
WithUserAccountDevelop sets development objects into the context nolint:unused // ...

# Constants

Permission auth specific constants.
CrossAuthHeader value as AccountID[:UserID].
Permission auth specific constants.