Table of Contents

Interface IAuthenticate<T>

Namespace
SunamoOctokit.Interfaces
Assembly
SunamoOctokit.dll

Interface for GitHub authentication methods.

public interface IAuthenticate<T>

Type Parameters

T

The return type for authentication methods.

Extension Methods

Methods

BasicAuthenticate(string, string)

Authenticates using basic credentials (login and password).

T BasicAuthenticate(string login, string password)

Parameters

login string

The GitHub login username.

password string

The GitHub password.

Returns

T

Authentication result of type T.

TokenAuthenticate(string)

Authenticates using a personal access token.

T TokenAuthenticate(string token)

Parameters

token string

The GitHub personal access token.

Returns

T

Authentication result of type T.