Rest.PkceCodeChallenge¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class Rest.PkceCodeChallenge¶
In order to play a Pkce Code Verification during a OAuth2 authorization you need this structure which handles the algorithmic part.
- classmethod new_random()¶
- Returns:
A newly created
Rest.PkceCodeChallenge
- Return type:
Creates a new
Rest.PkceCodeChallenge
.
- copy()¶
- Returns:
A newly created
Rest.PkceCodeChallenge
with the same contents as self- Return type:
Makes a deep copy of a
Rest.PkceCodeChallenge
.
- free()¶
Frees a
Rest.PkceCodeChallenge
allocated using rest_pkce_code_challenge_new() orRest.PkceCodeChallenge.copy
().
- get_challenge()¶
- Returns:
the code_challenge
- Return type:
Returns the Code Challenge for the Pkce verification.