SecurityAspect implements AspectInterface
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
$noncePool
protected
NoncePool
$noncePool
$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
$signingSecretResolver
protected
SigningSecretResolver
$signingSecretResolver
Methods
__construct()
public
__construct() : mixed
get()
Get a property from an aspect
public
get(string $name) : mixed
Parameters
- $name : string
getNoncePool()
public
getNoncePool() : NoncePool
Return values
NoncePoolgetReceivedRequestToken()
public
getReceivedRequestToken() : RequestToken|false|null
Return values
RequestToken|false|nullgetSigningSecretResolver()
Resolves corresponding signing secret providers (such as `NoncePool`).
public
getSigningSecretResolver() : SigningSecretResolver
Example: ...->getSigningSecretResolver->findByType('nonce')
resolves NoncePool
Return values
SigningSecretResolverprovideIn()
public
static provideIn(Context $context) : self
Parameters
- $context : Context
Return values
selfprovideNonce()
Shortcut function to `NoncePool`, providing a `SigningSecret`
public
provideNonce() : Nonce
Tags
Return values
NoncesetReceivedRequestToken()
public
setReceivedRequestToken(RequestToken|false|null $receivedRequestToken) : void
Parameters
- $receivedRequestToken : RequestToken|false|null