Class CredentialFactory
Inheritance
System.Object
CredentialFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Downlink.GitHub
Assembly: Downlink.GitHub.dll
Syntax
public static class CredentialFactory
Methods
| Improve this Doc View SourceBuildCredentials(IConfiguration, ILogger<GitHubCredentials>)
Declaration
public static GitHubCredentials BuildCredentials(IConfiguration config, ILogger<GitHubCredentials> logger = null)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | config | |
Microsoft.Extensions.Logging.ILogger<GitHubCredentials> | logger |
Returns
Type | Description |
---|---|
GitHubCredentials |
BuildCredentials(IServiceProvider)
Declaration
public static GitHubCredentials BuildCredentials(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider |
Returns
Type | Description |
---|---|
GitHubCredentials |