mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-17 15:35:53 +00:00
Add api scope enum
This commit is contained in:
22
src/Enums/Scope.php
Normal file
22
src/Enums/Scope.php
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace GhostZero\BitinflowAccounts\Enums;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author René Preuß <rene@preuss.io>
|
||||||
|
*/
|
||||||
|
class Scope
|
||||||
|
{
|
||||||
|
|
||||||
|
/*
|
||||||
|
* v0 API
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Deprecated scope.
|
||||||
|
const API = 'api';
|
||||||
|
|
||||||
|
// Read nonpublic user information, including email address.
|
||||||
|
const READ_USER = 'read_user';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user