Interface IAuthenticate<T>
- Namespace
- SunamoOctokit.Interfaces
- Assembly
- SunamoOctokit.dll
Interface for GitHub authentication methods.
public interface IAuthenticate<T>
Type Parameters
TThe 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
Returns
- T
Authentication result of type
T.
TokenAuthenticate(string)
Authenticates using a personal access token.
T TokenAuthenticate(string token)
Parameters
tokenstringThe GitHub personal access token.
Returns
- T
Authentication result of type
T.