PkceCodeChallenge
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "rest_pkce_code_challenge_get_type ()" ) ]
[ Compact ]
public class PkceCodeChallenge
In order to play a Pkce Code Verification during a OAuth2 authorization you need this structure which handles the algorithmic part.
Content:
Creation methods:
Methods:
- public PkceCodeChallenge copy ()
Makes a deep copy of a PkceCodeChallenge.
- public void free ()
Frees a PkceCodeChallenge allocated using
rest_pkce_code_challenge_new
or copy.
- public unowned string get_challenge ()
Returns the Code Challenge for the Pkce verification.
- public unowned string get_verifier ()
Returns the Code Verifier for the Pkce verification.