SessionTrait uses trait:short
The enumeration of all Session properties.
Properties already available via other traits:
- ACTIVE, IDENTIFIER, OWNER (Schema.org Properties)
- CLIENT_ID (ClientIdTrait)
- METADATA, EXPIRES_AT (ApplicationTrait)
Note: This is a trait for use with Prop class. To reference constants directly in controllers, use the Session schema class or Prop.
Tags
Table of Contents
Constants
- CLIENT_ID : string = 'clientId'
- CURRENT : string = 'current'
- EXPIRES_AT : string = 'expiresAt'
- IP : string = 'ip'
- METADATA : string = 'metadata'
- REVOCATION_REASON : string = 'revocationReason'
- REVOKED_AT : string = 'revokedAt'
- TOKEN_HASH : string = 'tokenHash'
- USER_AGENT : string = 'userAgent'
- USER_ID : string = 'userId'
Constants
CLIENT_ID
public
string
CLIENT_ID
= 'clientId'
CURRENT
public
string
CURRENT
= 'current'
EXPIRES_AT
public
string
EXPIRES_AT
= 'expiresAt'
IP
public
string
IP
= 'ip'
METADATA
public
string
METADATA
= 'metadata'
REVOCATION_REASON
public
string
REVOCATION_REASON
= 'revocationReason'
REVOKED_AT
public
string
REVOKED_AT
= 'revokedAt'
TOKEN_HASH
public
string
TOKEN_HASH
= 'tokenHash'
USER_AGENT
public
string
USER_AGENT
= 'userAgent'
USER_ID
public
string
USER_ID
= 'userId'