Show / Hide Table of Contents

Interface IOAuth2CodeGenerator

Namespace: GitCredentialManager.Authentication.OAuth
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public interface IOAuth2CodeGenerator

Methods

CreateNonce()

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

Declaration
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
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
string CreatePkceCodeVerifier()
Returns
Type Description
string

PKCE code verifier.

In this article
Back to top Generated by DocFX