Documentation

AuthenticationProvider
in package
implements AuthenticationProviderInterface

Class provides simple and the most common functionality

Interfaces, Classes and Traits

AuthenticationProviderInterface
Interface for security provider with authorization

Table of Contents

$sessionUserLoginFieldName  : string
Field name in session where we store login of the authorized user
connect()  : string
Method creates conection session
createSession()  : string
Method creates session from existing token or fetched from HTTP headers
getLoginFieldName()  : string
Method returns field name for login
getSelfId()  : int
Method returns id of the session user
getSelfLogin()  : string
Method returns login of the session user
getSessionIdFieldName()  : string
Method returns field name for session_id
sessionId()  : void
Method creates session

Properties

$sessionUserLoginFieldName

Field name in session where we store login of the authorized user

public string $sessionUserLoginFieldName = 'session-user-login'

Methods

sessionId()

Method creates session

protected sessionId(string $token) : void
Parameters
$token : string
Tags
codeCoverageIgnore
Return values
void

Search results

    Яндекс.Метрика