loopback-component-auth
Version:
Extends loopback-component-passport to support custom auth schemes (i.e. other than the supported 'ldap', 'local', 'oauth', 'oauth1', 'oauth 1.0', 'openid', 'openid connect' and 'oauth 2.0')
33 lines (32 loc) • 758 B
JSON
{
"name": "AuthSchemeOptions",
"description": "Options for authSchemes",
"plural": "AuthSchemeOptions",
"base": "Model",
"http": {},
"strict": false,
"options": {
"idInjection": false,
"validateUpsert": false,
"transient": {}
},
"properties": {
"id": false,
"isEmailOptional": {
"type": "Boolean",
"default": true,
"description": "when set to `true`, authScheme will not fail parsing profiles without `email`"
},
"credentialDefaults": {
"type": "Object",
"required": false,
"description": "default values used when composing `credentials` with a custom `AuthScheme`"
}
},
"hidden": [],
"relations": {},
"acls": [],
"scopes": {},
"scope": {},
"indexes": {}
}