package
5.0.2+incompatible
Repository: https://github.com/meateam/api-gateway.git
Documentation: pkg.go.dev
# Functions
NewRouter creates a new Router.
# Constants
AuthCookie is the name of the authorization cookie.
AuthHeader is the key of the authorization header.
AuthHeaderBearer is the prefix for the authorization token in AuthHeader.
AuthTypeHeader is the key of the servive-host header.
ConfigWebUI is the name of the environment variable containing the path to the ui.
CurrentUnitLabel is the claim name of the current unit of the user.
DisplayNameLabel is the claim name of the display name of the user.
DocsAuthTypeValue is the value of the docs-service for AuthTypeHeader key.
DriveClientName is the client name of the Drive UI client.
FirstNameLabel is the claim name for the firstname of the user.
JobLabel is the claim name of the job of the user.
LastNameLabel is the claim name for the lastname of the user.
RankLabel is the claim name of the rank of the user.
ServiceAuthCodeTypeValue is the value of service using the authorization code flow for AuthTypeHeader key.
DEPRECATED: ServiceAuthTypeValue is the value of service for AuthTypeHeader key.
UserNameLabel is the label for the full user name.