AuthenticationService  v0.2.0
Public Attributes | List of all members
Joutsen.Authentication.Jwt.TokenKeys Class Reference

Keys used to issue a token. More...

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"

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

◆ AUDIENCES

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

The key used to identify the audience of a token.

◆ JWT_TOKEN_TYPE

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

The key used to identify the token as a JWT.

◆ USER_ID

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

The key used to identify a user id.

◆ USERNAME

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

The key used to identify a username.