Heimdall/vendor/knplabs/github-api/lib/Github/AuthMethod.php
2022-03-10 11:54:29 +00:00

31 lines
577 B
PHP

<?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';
}