mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-13 13:35:52 +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