VuFind API Documentation

AccessToken extends RowGateway
in package
implements AccessTokenEntityInterface

Row Definition for access_token

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

Interfaces, Classes, Traits and Enums

AccessTokenEntityInterface
Entity model interface for access tokens.

Table of Contents

__construct()  : mixed
Constructor
getPrimaryKeyColumn()  : array<string|int, mixed>
Retrieve primary key information.
isRevoked()  : bool
Is the access token revoked?
setData()  : AccessTokenEntityInterface
Set data.
setRevoked()  : AccessTokenEntityInterface
Set revoked status.
setUser()  : AccessTokenEntityInterface
Set user ID.

Methods

__construct()

Constructor

public __construct(Adapter $adapter) : mixed
Parameters
$adapter : Adapter

Database adapter

Return values
mixed

getPrimaryKeyColumn()

Retrieve primary key information.

public getPrimaryKeyColumn() : array<string|int, mixed>
Return values
array<string|int, mixed>

isRevoked()

Is the access token revoked?

public isRevoked() : bool
Return values
bool

Search results