SecurityAspect implements AspectInterface

Internal

Table of Contents

Interfaces

AspectInterface
Interface AspectInterface Think of an aspect like a property bag

Properties

$noncePool  : NoncePool
$receivedRequestToken  : RequestToken|false|null
`null` in case no request token was received `false` in case a request token was received, which was invalid
$signingSecretResolver  : SigningSecretResolver

Methods

__construct()  : mixed
get()  : mixed
Get a property from an aspect
getNoncePool()  : NoncePool
getReceivedRequestToken()  : RequestToken|false|null
getSigningSecretResolver()  : SigningSecretResolver
Resolves corresponding signing secret providers (such as `NoncePool`).
provideIn()  : self
provideNonce()  : Nonce
Shortcut function to `NoncePool`, providing a `SigningSecret`
setReceivedRequestToken()  : void

Properties

$receivedRequestToken

`null` in case no request token was received `false` in case a request token was received, which was invalid

protected RequestToken|false|null $receivedRequestToken = null

Methods

get()

Get a property from an aspect

public get(string $name) : mixed
Parameters
$name : string

getSigningSecretResolver()

Resolves corresponding signing secret providers (such as `NoncePool`).

public getSigningSecretResolver() : SigningSecretResolver

Example: ...->getSigningSecretResolver->findByType('nonce') resolves NoncePool

Return values
SigningSecretResolver

provideNonce()

Shortcut function to `NoncePool`, providing a `SigningSecret`

public provideNonce() : Nonce
Tags
todo

this is a "comfort function", might be dropped

Return values
Nonce

setReceivedRequestToken()

public setReceivedRequestToken(RequestToken|false|null $receivedRequestToken) : void
Parameters
$receivedRequestToken : RequestToken|false|null

        
On this page

Search results