Show / Hide Table of Contents

Class OAuth2CryptographicCodeGenerator

Inheritance
object
OAuth2CryptographicCodeGenerator
Implements
IOAuth2CodeGenerator
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: GitCredentialManager.Authentication.OAuth
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public class OAuth2CryptographicCodeGenerator : IOAuth2CodeGenerator

Methods

CreateNonce()

Create a random string value suitable for use as a nonce.

Declaration
public string CreateNonce()
Returns
Type Description
string

A random string.

CreatePkceCodeChallenge(OAuth2PkceChallengeMethod, string)

Create a code challenge for the given Proof Key for Code Exchange (PKCE) code verifier.

Declaration
public string CreatePkceCodeChallenge(OAuth2PkceChallengeMethod challengeMethod, string codeVerifier)
Parameters
Type Name Description
OAuth2PkceChallengeMethod challengeMethod

Challenge method.

string codeVerifier

PKCE code verifier.

Returns
Type Description
string

PKCE code challenge.

CreatePkceCodeVerifier()

Create a cryptographically random code verifier for use with Proof Key for Code Exchange (PKCE).

Declaration
public string CreatePkceCodeVerifier()
Returns
Type Description
string

PKCE code verifier.

Implements

IOAuth2CodeGenerator
In this article
Back to top Generated by DocFX