PKCETrait
Implements PKCE (Proof Key for Code Exchange) functionality
Tags
Table of Contents
Methods
- generateChallenge() : string
- implements PKCE::generateChallenge()
- generateVerifier() : string
- implements PKCE::generateVerifier()
- setCodeChallenge() : array<string, string>
- implements PKCE::setCodeChallenge()
- setCodeVerifier() : array<string, string>
- implements PKCE::setCodeVerifier()
Methods
generateChallenge()
implements PKCE::generateChallenge()
public
final generateChallenge(string $verifier, string $challengeMethod) : string
Parameters
- $verifier : string
- $challengeMethod : string
Tags
Return values
stringgenerateVerifier()
implements PKCE::generateVerifier()
public
final generateVerifier(int $length) : string
Parameters
- $length : int
Tags
Return values
stringsetCodeChallenge()
implements PKCE::setCodeChallenge()
public
final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string, string>
Parameters
- $params : array<string, string>
- $challengeMethod : string
Tags
Return values
array<string, string>setCodeVerifier()
implements PKCE::setCodeVerifier()
public
final setCodeVerifier(array<string, string> $params) : array<string, string>
Parameters
- $params : array<string, string>