mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 10:12:38 +00:00
4e804f61a6
* updated XML docs and added some missing bits. * prefer nameof(x) over literal "x"
12 lines
282 B
C#
12 lines
282 B
C#
namespace Octokit
|
|
{
|
|
public static class CredentialsExtensions
|
|
{
|
|
public static string GetToken(this Credentials credentials)
|
|
{
|
|
Ensure.ArgumentNotNull(credentials, nameof(credentials));
|
|
|
|
return credentials.Password;
|
|
}
|
|
}
|
|
} |