Skip to main content

getMarker

Get one auth provider object by marker

AuthProvider.getMarker(marker, langCode)

const value = await AuthProvider.getMarker('email')
Schema

marker:* string
The text identifier of the authorization provider
example: email

langCode: string
language code
example: en_US

Example return:

[
{
"id": 1,
"localizeInfos": {
"title": "email"
},
"version": 0,
"identifier": "email",
"type": "email",
"formIdentifier": "reg",
"isActive": true,
"isCheckCode": false,
"config": {
"deleteNoneActiveUsersAfterDays": 2,
"systemCodeLength": 8,
"systemCodeOnlyNumbers": null,
"systemCodeTlsSec": 120
}
}
]
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