Documentation

PKCETrait

Implements PKCE (Proof Key for Code Exchange) functionality

Tags
see
PKCE

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
see
PKCE::generateChallenge()
see
OAuth2Provider::setCodeChallenge()
Return values
string

generateVerifier()

implements PKCE::generateVerifier()

public final generateVerifier(int $length) : string
Parameters
$length : int
Tags
see
PKCE::generateVerifier()
see
OAuth2Provider::setCodeChallenge()
Return values
string

        
On this page

Search results