Files
accounts/src/GhostZero/BitinflowAccounts/Enums/Scope.php

38 lines
764 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
namespace GhostZero\BitinflowAccounts\Enums;
/**
* @author René Preuß <rene@preuss.io>
*/
class Scope
{
/*
* v0 API
*/
// Deprecated scope.
public const API = 'api';
// Read nonpublic user information, including email address.
public const READ_USER = 'read_user';
/*
* v1 API
*/
// Read authorized user´s email address.
public const USERS_READ_EMAIL = 'users:read:email';
// Manage a authorized user object.
public const USERS_EDIT = 'users:edit';
// Read authorized user´s transactions.
public const TRANSACTIONS_READ = 'transactions:read';
// Create a new charge for the authorized user.
public const CHARGES_CREATE = 'charges:create';
}