Skip to main content

getAuthProviders

Get all auth providers objects

AuthProvider.getAuthProviders(langCode, offset, limit)

const value = await AuthProvider.getAuthProviders()
Schema

langCode: string
language code
example: en_US

offset: number
parameter for pagination, default 0
example: 0

limit: number
parameter for pagination, default 30
example: 30


This method gets all the objects of the authorization providers.

Example return:

[
{
"id": 1,
"localizeInfos": {
"title": "email"
},
"config": {
"deleteNoneActiveUsersAfterDays": 2,
"systemCodeTlsSec": 120,
"systemCodeLength": 8,
"systemCodeOnlyNumbers": null
},
"version": 0,
"identifier": "email",
"type": "email",
"formIdentifier": "reg",
"isActive": true,
"isCheckCode": false
}
]
Schema

id: number
object identifier example: 1764

localizeInfos: CommonLocalizeInfos
block name with localization
example:

{
"en_US": {
"title": "My block"
}
}

version: number
object version number
example: 10

identifier: string
textual identifier for the field record
example: catalog
default: marker

isActive: boolean
Flag of usage
example: false

isCheckCode: boolean
a sign of user activation via a code
example: false

type: string
type of providere
example: email

formIdentifier: string
the marker of the form used by the provider (may be null)
example: email