# Functions
NewAccountServer returns a new AccountServerExchanger for the given TTN Account Server.
NewMemory returns a new authentication interface with an in-memory backend.
NewRedis returns a new authentication interface with a redis backend.
# Variables
DefaultRedisPrefix is used as prefix when no prefix is given.
ErrGatewayNotFound is returned when a gateway was not found.
ErrGatewayNoValidToken is returned when a gateway does not have a valid access token.
# Structs
AccountServerExchanger uses a TTN Account Server to exchange the key for a token.
Memory implements the authentication interface with an in-memory backend.
Redis implements the authentication interface with a Redis backend.