AXIAM PHP SDK

ScimTargetAuthBearer
in package
implements ScimTargetAuthVariant

FinalYes

The `bearer` arm of {@see ScimTargetAuth} (`type: "bearer"`).

Table of Contents

Interfaces

ScimTargetAuthVariant
How AXIAM authenticates to the downstream service provider, without the credential itself.

Methods

__construct()  : mixed
Constructs the `bearer` arm, which carries no fields.
fromArray()  : self
Rebuilds the `bearer` arm from one decoded JSON object.
jsonSerialize()  : array<string, mixed>
Renders this arm for `json_encode()`.
toArray()  : array<string, mixed>
Renders this arm to its wire form, re-attaching `type: "bearer"`.

Methods

__construct()

Constructs the `bearer` arm, which carries no fields.

public __construct() : mixed

fromArray()

Rebuilds the `bearer` arm from one decoded JSON object.

public static fromArray(array<string, mixed> $data) : self
Parameters
$data : array<string, mixed>

The raw wire object.

Return values
self

jsonSerialize()

Renders this arm for `json_encode()`.

public jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>

toArray()

Renders this arm to its wire form, re-attaching `type: "bearer"`.

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results