wishthis/vendor/knplabs/github-api/lib/Github/AuthMethod.php

31 lines
577 B
PHP
Raw Normal View History

2022-01-24 08:08:35 +00:00
<?php
namespace Github;
final class AuthMethod
{
/**
* Authenticate using a client_id/client_secret combination.
*
* @var string
*/
public const CLIENT_ID = 'client_id_header';
/**
* Authenticate using a GitHub access token.
*
* @var string
*/
public const ACCESS_TOKEN = 'access_token_header';
/**
* Constant for authentication method.
*
* Indicates JSON Web Token authentication required for GitHub apps access
* to the API.
*
* @var string
*/
public const JWT = 'jwt';
}