AXIAM PHP SDK

RequestedPermission
in package

FinalYes

One `(resource, scopes)` pair a resource server requires (CONTRACT.md §20.1).

Table of Contents

Properties

$resourceId  : string
$resourceScopes  : array<string|int, mixed>

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $resourceId, array<int, string> $resourceScopes) : mixed
Parameters
$resourceId : string

The AXIAM resource id — the same UUID the Protection API returned as _id.

$resourceScopes : array<int, string>

Scope names, each of which the resource must already declare. Matched exactly: no prefix or wildcard semantics in either direction.

On this page

Search results