AuthenticationService v0.3.0+7-g8a7f190
Static Public Attributes | List of all members
Joutsen.Authentication.Jwt.TokenKeys Class Reference

Keys used to issue a token. More...

Static Public Attributes

const String USER_ID = "uid"
 The key used to identify a user id. More...
 
const String USERNAME = "name"
 The key used to identify a username. More...
 
const String AUDIENCES = "aud"
 The key used to identify the audience of a token. More...
 
const String APPLICATIONS = "apps"
 The key used to identify the user's apps stored in a token. More...
 
const String JWT_TOKEN_TYPE = "JWT"
 The key used to identify the token as a JWT. More...
 

Detailed Description

Keys used to issue a token.

Since
0.1.0

Member Data Documentation

◆ APPLICATIONS

const String Joutsen.Authentication.Jwt.TokenKeys.APPLICATIONS = "apps"
static

The key used to identify the user's apps stored in a token.

◆ AUDIENCES

const String Joutsen.Authentication.Jwt.TokenKeys.AUDIENCES = "aud"
static

The key used to identify the audience of a token.

◆ JWT_TOKEN_TYPE

const String Joutsen.Authentication.Jwt.TokenKeys.JWT_TOKEN_TYPE = "JWT"
static

The key used to identify the token as a JWT.

◆ USER_ID

const String Joutsen.Authentication.Jwt.TokenKeys.USER_ID = "uid"
static

The key used to identify a user id.

◆ USERNAME

const String Joutsen.Authentication.Jwt.TokenKeys.USERNAME = "name"
static

The key used to identify a username.