Documentation

ApiApp
in package
uses IdentifiableTrait

ApiApp model.

Attributes
#[Entity]

Table of Contents

Properties

$appId  : string
Application ID.
$callback  : string
Callback URL.
$claims  : array<string|int, JWTClaims>
The claims that will be present in the JWT. If `null` only the member's id will be passed along.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$secret  : string
Application secret.
$url  : string
URL for the application when the user does not authorise access.

Methods

getAppId()  : string
getCallback()  : string
getClaims()  : array<string|int, JWTClaims>
getId()  : int|null
Get the identifier of the object.
getSecret()  : string
getUrl()  : string
setAppId()  : void
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setSecret()  : void

Properties

$appId

Application ID.

protected string $appId
Attributes
#[Column]
$type: 'string'

$callback

Callback URL.

protected string $callback
Attributes
#[Column]
$type: 'string'

$claims

The claims that will be present in the JWT. If `null` only the member's id will be passed along.

protected array<string|int, JWTClaims> $claims
Attributes
#[Column]
$type: 'simple_array'
$nullable: true
$enumType: \User\Model\Enums\JWTClaims::class

$id

The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.

protected int|null $id = null
Attributes
#[Column]
$type: 'integer'
#[GeneratedValue]
$strategy: 'IDENTITY'
#[Id]

$secret

Application secret.

protected string $secret
Attributes
#[Column]
$type: 'string'

$url

URL for the application when the user does not authorise access.

protected string $url
Attributes
#[Column]
$type: 'string'

Methods

getAppId()

public getAppId() : string
Return values
string

getCallback()

public getCallback() : string
Return values
string

getId()

Get the identifier of the object.

public getId() : int|null
Tags
psalm-ignore-nullable-return
Return values
int|null

getSecret()

public getSecret() : string
Return values
string

getUrl()

public getUrl() : string
Return values
string

setAppId()

public setAppId(string $appId) : void
Parameters
$appId : string

setId()

Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!

public setId(int|null $id) : void
Parameters
$id : int|null

setSecret()

public setSecret(string $secret) : void
Parameters
$secret : string

        
On this page

Search results