Oihana PHP System

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
author

Marc Alcaraz

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

REVOCATION_REASON

public string REVOCATION_REASON = 'revocationReason'
On this page

Search results