TokenBasedSession Interface Reference

Detailed Description

A session that requires clients to send a token for authentication.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 18 of file TokenBasedSession.php.

+ Inheritance diagram for TokenBasedSession:

Public Member Functions

 getHeaderName ()
 
 getCookieName ()
 
- Public Member Functions inherited from Session
 isStarted ()
 
 getID ()
 
 get ($key, $default=null)
 
 set ($key, $value)
 
 remove ($key)
 
 exist ($key)
 
 clear ()
 
 destroy ()
 
 setAuthUser ($login)
 
 getAuthUser ()
 

Member Function Documentation

◆ getHeaderName()

getHeaderName ( )

Get the name of the auth token header.

Returns
String

Implemented in ClientSideSession, and AuthTokenSession.

◆ getCookieName()

getCookieName ( )

Get the name of the auth token cookie.

Returns
String

Implemented in ClientSideSession, and AuthTokenSession.