class AuthCode implements AuthCodeEntityInterface (View source)

Traits

AuthCodeTrait

Properties

protected $identifier
protected $scopes
protected DateTime $expiryDateTime
protected $userIdentifier
protected ScopeEntityInterface[] $client

Methods

getIdentifier()

{@inheritdoc}

setIdentifier($identifier)

{@inheritdoc}

addScope(ScopeEntityInterface $scope)

{@inheritdoc}

getScopes()

{@inheritdoc}

getExpiryDateTime()

{@inheritdoc}

setExpiryDateTime(DateTimeImmutable $dateTime)

{@inheritdoc}

setUserIdentifier($identifier)

{@inheritdoc}

getUserIdentifier()

{@inheritdoc}

getClient()

{@inheritdoc}

setClient(ClientEntityInterface $client)

{@inheritdoc}

Details

getIdentifier()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\TokenInterface::getIdentifier()

setIdentifier($identifier)

{@inheritdoc}

Parameters

$identifier

See also

\League\OAuth2\Server\Entities\TokenInterface::setIdentifier()

addScope(ScopeEntityInterface $scope)

{@inheritdoc}

Parameters

ScopeEntityInterface $scope

See also

\League\OAuth2\Server\Entities\TokenInterface::addScope()

getScopes()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\TokenInterface::getScopes()

getExpiryDateTime()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\TokenInterface::getExpiryDateTime()

setExpiryDateTime(DateTimeImmutable $dateTime)

{@inheritdoc}

Parameters

DateTimeImmutable $dateTime

See also

\League\OAuth2\Server\Entities\TokenInterface::setExpiryDateTime()

setUserIdentifier($identifier)

{@inheritdoc}

Parameters

$identifier

See also

\League\OAuth2\Server\Entities\TokenInterface::setUserIdentifier()

getUserIdentifier()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\TokenInterface::getUserIdentifier()

getClient()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\TokenInterface::getClient()

setClient(ClientEntityInterface $client)

{@inheritdoc}

Parameters

ClientEntityInterface $client

See also

\League\OAuth2\Server\Entities\TokenInterface::setClient()