@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
443 lines • 14.6 kB
JSON
{
"id": "Auth.logindiscoveryhandler",
"nodeType": "interface",
"name": "LoginDiscoveryHandler",
"namespace": "Auth",
"startToken": {
"type": "declaration.entity.name.class",
"text": "LoginDiscoveryHandler",
"textToLower": "logindiscoveryhandler",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_LoginDiscoveryHandler_-1:0"
},
"order": 0,
"memberOrder": 0,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "global",
"textToLower": "global",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.access_global_-1:0"
},
"sharingModifier": {
"type": "keyword.modifier.sharing",
"text": "without sharing",
"textToLower": "without sharing",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.sharing_without sharing_-1:0"
},
"description": "Salesforce gives you the ability to log in users based on other verification methods than username and password. For example, it can prompt users to log in with their email, phone number, or another identifier like a Federation ID or device identifier. Login Discovery is available to all external user licenses, including Customer Community, Customer Community Plus, External Identity, Partner Community, and Partner Community Plus.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_Auth_LoginDiscoveryHandler.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"login(string,string,map<string,string>)": {
"id": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>)",
"nodeType": "method",
"name": "login",
"startToken": {
"type": "declaration.entity.name.function",
"text": "login",
"textToLower": "login",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_login_-1:0"
},
"parentId": "Auth.logindiscoveryhandler",
"order": 1,
"memberOrder": 1,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public System.PageReference login(String identifier, String startUrl, Map<String,String> requestAttributes)",
"overrideSignature": "public override System.PageReference login(String identifier, String startUrl, Map<String,String> requestAttributes)",
"simplifiedSignature": "login(String,String,Map<String,String>)",
"datatype": {
"id": "Auth.logindiscoveryhandler.login.datatype.System.PageReference",
"nodeType": "datatype",
"name": "System.PageReference",
"startToken": {
"type": "datatype.support.class",
"text": "System",
"textToLower": "system",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_System_0:7"
},
"parentId": "Auth.logindiscoveryhandler.login",
"order": 0,
"memberOrder": 0,
"type": "System.PageReference"
},
"description": "Log in the external user given the specified identifier, such as email or phone number. If successful, redirect the user to the community page specified by the start URL.",
"parentName": "LoginDiscoveryHandler",
"variables": {},
"params": {
"identifier": {
"id": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>).varParam.identifier",
"nodeType": "variable",
"name": "identifier",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "identifier",
"textToLower": "identifier",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 41
},
"end": {
"line": 0,
"character": 51
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_identifier_0:41"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "identifier",
"textToLower": "identifier",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 41
},
"end": {
"line": 0,
"character": 51
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_identifier_0:41"
},
"parentId": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Auth.logindiscoveryhandler.login.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 34
},
"end": {
"line": 0,
"character": 40
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:34"
},
"parentId": "Auth.logindiscoveryhandler.login",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"starturl": {
"id": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>).varParam.starturl",
"nodeType": "variable",
"name": "startUrl",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "startUrl",
"textToLower": "starturl",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 60
},
"end": {
"line": 0,
"character": 68
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_startUrl_0:60"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "startUrl",
"textToLower": "starturl",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 60
},
"end": {
"line": 0,
"character": 68
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_startUrl_0:60"
},
"parentId": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "Auth.logindiscoveryhandler.login.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 53
},
"end": {
"line": 0,
"character": 59
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:53"
},
"parentId": "Auth.logindiscoveryhandler.login",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"requestattributes": {
"id": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>).varParam.requestattributes",
"nodeType": "variable",
"name": "requestAttributes",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "requestAttributes",
"textToLower": "requestattributes",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 88
},
"end": {
"line": 0,
"character": 105
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_requestAttributes_0:88"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "requestAttributes",
"textToLower": "requestattributes",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 88
},
"end": {
"line": 0,
"character": 105
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_requestAttributes_0:88"
},
"parentId": "Auth.logindiscoveryhandler.method.login(string,string,map<string,string>)",
"order": 3,
"memberOrder": 3,
"datatype": {
"id": "Auth.logindiscoveryhandler.login.datatype.Map<String,String>",
"nodeType": "datatype",
"name": "Map<String,String>",
"startToken": {
"type": "datatype.collection",
"text": "Map",
"textToLower": "map",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 70
},
"end": {
"line": 0,
"character": 73
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Map_0:70"
},
"parentId": "Auth.logindiscoveryhandler.login",
"order": 0,
"memberOrder": 0,
"type": "Map",
"value": {
"id": "Auth.logindiscoveryhandler.login.datatype.Map<String,String>.value.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 81
},
"end": {
"line": 0,
"character": 87
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:81"
},
"order": 0,
"memberOrder": 0,
"type": "String"
},
"key": {
"id": "Auth.logindiscoveryhandler.login.datatype.Map<String,String>.key.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 74
},
"end": {
"line": 0,
"character": 80
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:74"
},
"order": 0,
"memberOrder": 0,
"type": "String"
}
},
"description": "Identifier the external user entered at the login prompt, for example, an email address or phone number. Path to the community page requested by the external user. The user is redirected to this location after successful login. Information about the login request based on the user’s browser state when accessing the login page. requestAttributes passes in the CommunityUrl, IpAddress, UserAgent, Platform, Application, City, Country, and Subdivision values. The City, Country, and Subdivision values come from IP geolocation.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 1,
"queries": []
}