Skip to main content

HawkServiceParameters

@webda/hawk


Class: HawkServiceParameters

Defined in: packages/hawk/src/hawk.service.ts:39

Hawk service parameters

Extends​

  • ServiceParameters

Constructors​

Constructor​

new HawkServiceParameters(): HawkServiceParameters

Returns​

HawkServiceParameters

Inherited from​

ServiceParameters.constructor

Properties​

dynamicSessionKey?​

optional dynamicSessionKey?: string

Defined in: packages/hawk/src/hawk.service.ts:47

If specified will verify the signature match the key store in session


keyModel?​

optional keyModel?: string

Defined in: packages/hawk/src/hawk.service.ts:43

Key model


redirectUris?​

optional redirectUris?: string[]

Defined in: packages/hawk/src/hawk.service.ts:55

Allowed redirection with CSRF


redirectUrl?​

optional redirectUrl?: string

Defined in: packages/hawk/src/hawk.service.ts:51

redirect endpoint


type​

type: string

Defined in: packages/core/lib/services/serviceparameters.d.ts:8

Type of the service

Inherited from​

ServiceParameters.type

Methods​

load()​

load(params?): this

Defined in: packages/hawk/src/hawk.service.ts:62

Parameters​

params?​

any = {}

the input parameters

Returns​

this

this

Overrides​

ServiceParameters.load


update()​

update(params, delta): this

Defined in: packages/core/lib/services/serviceparameters.d.ts:25

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

ServiceParameters.update


with()​

with(callback): this

Defined in: packages/core/lib/services/serviceparameters.d.ts:31

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

ServiceParameters.with