package
0.10.3
Repository: https://github.com/pushbits/server.git
Documentation: pkg.go.dev

# Packages

Package credentials provides definitions and functionality related to credential management.

# Functions

GenerateApplicationToken generates a token for an application.
GenerateNotExistingToken receives a token generation function and a function to check whether the token exists, returns a unique token.
GetApplication returns the application which was previously registered by the authentication middleware.
GetUser returns the user which was previously registered by the authentication middleware.

# Structs

Authenticator is the provider for authentication middleware.

# Interfaces

The Database interface for encapsulating database access.