Méthode | Description | |
---|---|---|
getRewrittenSignatureData ( ) : array[] | Get signatures with rewritten URLs | |
setUp ( ) | Set up the listener | |
tearDown ( ) | Tear down the listener | |
testApprovesSignaturesWhenConfigurationForcesProtocol ( $serverUrl, $protocol, $authHeader, $shouldMatch, $signature, $timestamp ) | ||
testApprovesValidSignature ( ) | ||
testApprovesValidSignatureWithAuthInfoFromQueryParameters ( ) | ||
testThrowsExceptionWhenAuthInfoIsMissing ( ) | ||
testThrowsExceptionWhenSignatureDoesNotMatch ( ) | ||
testThrowsExceptionWhenSignatureIsMissing ( ) | ||
testThrowsExceptionWhenTimestampHasExpired ( ) | ||
testThrowsExceptionWhenTimestampIsInvalid ( ) |
Méthode | Description | |
---|---|---|
getEventMock ( $config = null ) | ||
getListener ( ) |
public getRewrittenSignatureData ( ) : array[] | ||
Résultat | array[] |
public testApprovesSignaturesWhenConfigurationForcesProtocol ( $serverUrl, $protocol, $authHeader, $shouldMatch, $signature, $timestamp ) |
public testThrowsExceptionWhenAuthInfoIsMissing ( ) |
public testThrowsExceptionWhenSignatureDoesNotMatch ( ) |
public testThrowsExceptionWhenSignatureIsMissing ( ) |
public testThrowsExceptionWhenTimestampHasExpired ( ) |
public testThrowsExceptionWhenTimestampIsInvalid ( ) |