mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-13 19:33:09 +09:00
Update to laravel 7
This commit is contained in:
30
vendor/knplabs/github-api/lib/Github/AuthMethod.php
vendored
Normal file
30
vendor/knplabs/github-api/lib/Github/AuthMethod.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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';
|
||||
}
|
||||
Reference in New Issue
Block a user