UNPKG

@aurahelper/languages

Version:

Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more

1,557 lines (1,556 loc) 111 kB
{ "id": "Auth.sessionmanagement", "nodeType": "class", "name": "SessionManagement", "namespace": "Auth", "startToken": { "type": "declaration.entity.name.class", "text": "SessionManagement", "textToLower": "sessionmanagement", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.class_SessionManagement_-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": "Contains methods for verifying users’ identity, creating custom login flows, customizing security levels, and defining trusted IP ranges for a current session.", "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_SessionManagement.htm", "classes": {}, "interfaces": {}, "enums": {}, "variables": {}, "methods": { "finishlogindiscovery(auth.logindiscoverymethod,id)": { "id": "Auth.sessionmanagement.method.finishlogindiscovery(auth.logindiscoverymethod,id)", "nodeType": "method", "name": "finishLoginDiscovery", "startToken": { "type": "declaration.entity.name.function", "text": "finishLoginDiscovery", "textToLower": "finishlogindiscovery", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_finishLoginDiscovery_-1:0" }, "parentId": "Auth.sessionmanagement", "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static System.PageReference finishLoginDiscovery(Auth.LoginDiscoveryMethod method, Id userId)", "overrideSignature": "public static override System.PageReference finishLoginDiscovery(Auth.LoginDiscoveryMethod method, Id userId)", "simplifiedSignature": "finishLoginDiscovery(Auth.LoginDiscoveryMethod,Id)", "datatype": { "id": "Auth.sessionmanagement.finishlogindiscovery.datatype.System.PageReference", "nodeType": "datatype", "name": "System.PageReference", "startToken": { "type": "datatype.support.class", "text": "System", "textToLower": "system", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 20 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_System_0:14" }, "parentId": "Auth.sessionmanagement.finishlogindiscovery", "order": 0, "memberOrder": 0, "type": "System.PageReference" }, "description": "Finishes the My Domain Login Discovery login process.", "parentName": "SessionManagement", "variables": {}, "params": { "method": { "id": "Auth.sessionmanagement.method.finishlogindiscovery(auth.logindiscoverymethod,id).varParam.method", "nodeType": "variable", "name": "method", "startToken": { "type": "declaration.entity.name.variable", "text": "method", "textToLower": "method", "isAux": false, "range": { "start": { "line": 0, "character": 82 }, "end": { "line": 0, "character": 88 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_method_0:82" }, "endToken": { "type": "declaration.entity.name.variable", "text": "method", "textToLower": "method", "isAux": false, "range": { "start": { "line": 0, "character": 82 }, "end": { "line": 0, "character": 88 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_method_0:82" }, "parentId": "Auth.sessionmanagement.method.finishlogindiscovery(auth.logindiscoverymethod,id)", "order": 1, "memberOrder": 1, "datatype": { "id": "Auth.sessionmanagement.finishlogindiscovery.datatype.Auth.LoginDiscoveryMethod", "nodeType": "datatype", "name": "Auth.LoginDiscoveryMethod", "startToken": { "type": "datatype.support.namespace", "text": "Auth", "textToLower": "auth", "isAux": false, "range": { "start": { "line": 0, "character": 56 }, "end": { "line": 0, "character": 60 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Auth_0:56" }, "parentId": "Auth.sessionmanagement.finishlogindiscovery", "order": 0, "memberOrder": 0, "type": "Auth.LoginDiscoveryMethod" }, "scope": null }, "userid": { "id": "Auth.sessionmanagement.method.finishlogindiscovery(auth.logindiscoverymethod,id).varParam.userid", "nodeType": "variable", "name": "userId", "startToken": { "type": "declaration.entity.name.variable", "text": "userId", "textToLower": "userid", "isAux": false, "range": { "start": { "line": 0, "character": 93 }, "end": { "line": 0, "character": 99 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_userId_0:93" }, "endToken": { "type": "declaration.entity.name.variable", "text": "userId", "textToLower": "userid", "isAux": false, "range": { "start": { "line": 0, "character": 93 }, "end": { "line": 0, "character": 99 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_userId_0:93" }, "parentId": "Auth.sessionmanagement.method.finishlogindiscovery(auth.logindiscoverymethod,id)", "order": 2, "memberOrder": 2, "datatype": { "id": "Auth.sessionmanagement.finishlogindiscovery.datatype.Id", "nodeType": "datatype", "name": "Id", "startToken": { "type": "datatype.primitive", "text": "Id", "textToLower": "id", "isAux": false, "range": { "start": { "line": 0, "character": 90 }, "end": { "line": 0, "character": 92 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Id_0:90" }, "parentId": "Auth.sessionmanagement.finishlogindiscovery", "order": 0, "memberOrder": 0, "type": "Id" }, "description": "Verification method used with My Domain Login Discovery. ID used to log in the user. The user must be active.", "scope": null } }, "queries": [], "exceptions": [] }, "finishloginflow()": { "id": "Auth.sessionmanagement.method.finishloginflow()", "nodeType": "method", "name": "finishLoginFlow", "startToken": { "type": "declaration.entity.name.function", "text": "finishLoginFlow", "textToLower": "finishloginflow", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_finishLoginFlow_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 2, "memberOrder": 2, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static System.PageReference finishLoginFlow()", "overrideSignature": "public static override System.PageReference finishLoginFlow()", "simplifiedSignature": "finishLoginFlow()", "datatype": { "id": "Auth.sessionmanagement.finishloginflow.datatype.System.PageReference", "nodeType": "datatype", "name": "System.PageReference", "startToken": { "type": "datatype.support.class", "text": "System", "textToLower": "system", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 20 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_System_0:14" }, "parentId": "Auth.sessionmanagement.finishloginflow", "order": 0, "memberOrder": 0, "type": "System.PageReference" }, "description": "Finish the Visualforce Page login flow process, and redirect the user to the default home page.", "parentName": "SessionManagement", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "finishloginflow(string)": { "id": "Auth.sessionmanagement.method.finishloginflow(string)", "nodeType": "method", "name": "finishLoginFlow", "startToken": { "type": "declaration.entity.name.function", "text": "finishLoginFlow", "textToLower": "finishloginflow", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_finishLoginFlow_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 3, "memberOrder": 3, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static System.PageReference finishLoginFlow(String startUrl)", "overrideSignature": "public static override System.PageReference finishLoginFlow(String startUrl)", "simplifiedSignature": "finishLoginFlow(String)", "datatype": { "id": "Auth.sessionmanagement.finishloginflow.datatype.System.PageReference", "nodeType": "datatype", "name": "System.PageReference", "startToken": { "type": "datatype.support.class", "text": "System", "textToLower": "system", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 20 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_System_0:14" }, "parentId": "Auth.sessionmanagement.finishloginflow", "order": 0, "memberOrder": 0, "type": "System.PageReference" }, "description": "Finish the Visualforce Page login flow process, and redirect the user to the specified start URL.", "parentName": "SessionManagement", "variables": {}, "params": { "starturl": { "id": "Auth.sessionmanagement.method.finishloginflow(string).varParam.starturl", "nodeType": "variable", "name": "startUrl", "startToken": { "type": "declaration.entity.name.variable", "text": "startUrl", "textToLower": "starturl", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 66 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_startUrl_0:58" }, "endToken": { "type": "declaration.entity.name.variable", "text": "startUrl", "textToLower": "starturl", "isAux": false, "range": { "start": { "line": 0, "character": 58 }, "end": { "line": 0, "character": 66 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_startUrl_0:58" }, "parentId": "Auth.sessionmanagement.method.finishloginflow(string)", "order": 1, "memberOrder": 1, "datatype": { "id": "Auth.sessionmanagement.finishloginflow.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 51 }, "end": { "line": 0, "character": 57 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:51" }, "parentId": "Auth.sessionmanagement.finishloginflow", "order": 0, "memberOrder": 0, "type": "String" }, "description": "Path to the page that users see when they access the community.", "scope": null } }, "queries": [], "exceptions": [] }, "generateverificationurl(auth.verificationpolicy,string,string)": { "id": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string)", "nodeType": "method", "name": "generateVerificationUrl", "startToken": { "type": "declaration.entity.name.function", "text": "generateVerificationUrl", "textToLower": "generateverificationurl", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_generateVerificationUrl_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 4, "memberOrder": 4, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static String generateVerificationUrl(Auth.VerificationPolicy policy, String description, String destinationUrl)", "overrideSignature": "public static override String generateVerificationUrl(Auth.VerificationPolicy policy, String description, String destinationUrl)", "simplifiedSignature": "generateVerificationUrl(Auth.VerificationPolicy,String,String)", "datatype": { "id": "Auth.sessionmanagement.generateverificationurl.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 20 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:14" }, "parentId": "Auth.sessionmanagement.generateverificationurl", "order": 0, "memberOrder": 0, "type": "String" }, "description": "Initiates a user identity verification flow with the verification method that the user registered with, and returns a URL to the identity verification screen. For example, if you have a custom Visualforce page that displays sensitive account details, you can prompt the user to verify identity before viewing it.", "parentName": "SessionManagement", "variables": {}, "params": { "policy": { "id": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string).varParam.policy", "nodeType": "variable", "name": "policy", "startToken": { "type": "declaration.entity.name.variable", "text": "policy", "textToLower": "policy", "isAux": false, "range": { "start": { "line": 0, "character": 69 }, "end": { "line": 0, "character": 75 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_policy_0:69" }, "endToken": { "type": "declaration.entity.name.variable", "text": "policy", "textToLower": "policy", "isAux": false, "range": { "start": { "line": 0, "character": 69 }, "end": { "line": 0, "character": 75 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_policy_0:69" }, "parentId": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string)", "order": 1, "memberOrder": 1, "datatype": { "id": "Auth.sessionmanagement.generateverificationurl.datatype.Auth.VerificationPolicy", "nodeType": "datatype", "name": "Auth.VerificationPolicy", "startToken": { "type": "datatype.support.namespace", "text": "Auth", "textToLower": "auth", "isAux": false, "range": { "start": { "line": 0, "character": 45 }, "end": { "line": 0, "character": 49 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Auth_0:45" }, "parentId": "Auth.sessionmanagement.generateverificationurl", "order": 0, "memberOrder": 0, "type": "Auth.VerificationPolicy" }, "scope": null }, "description": { "id": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string).varParam.description", "nodeType": "variable", "name": "description", "startToken": { "type": "declaration.entity.name.variable", "text": "description", "textToLower": "description", "isAux": false, "range": { "start": { "line": 0, "character": 84 }, "end": { "line": 0, "character": 95 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_description_0:84" }, "endToken": { "type": "declaration.entity.name.variable", "text": "description", "textToLower": "description", "isAux": false, "range": { "start": { "line": 0, "character": 84 }, "end": { "line": 0, "character": 95 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_description_0:84" }, "parentId": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string)", "order": 2, "memberOrder": 2, "datatype": { "id": "Auth.sessionmanagement.generateverificationurl.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 77 }, "end": { "line": 0, "character": 83 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:77" }, "parentId": "Auth.sessionmanagement.generateverificationurl", "order": 0, "memberOrder": 0, "type": "String" }, "scope": null }, "destinationurl": { "id": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string).varParam.destinationurl", "nodeType": "variable", "name": "destinationUrl", "startToken": { "type": "declaration.entity.name.variable", "text": "destinationUrl", "textToLower": "destinationurl", "isAux": false, "range": { "start": { "line": 0, "character": 104 }, "end": { "line": 0, "character": 118 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_destinationUrl_0:104" }, "endToken": { "type": "declaration.entity.name.variable", "text": "destinationUrl", "textToLower": "destinationurl", "isAux": false, "range": { "start": { "line": 0, "character": 104 }, "end": { "line": 0, "character": 118 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_destinationUrl_0:104" }, "parentId": "Auth.sessionmanagement.method.generateverificationurl(auth.verificationpolicy,string,string)", "order": 3, "memberOrder": 3, "datatype": { "id": "Auth.sessionmanagement.generateverificationurl.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 97 }, "end": { "line": 0, "character": 103 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:97" }, "parentId": "Auth.sessionmanagement.generateverificationurl", "order": 0, "memberOrder": 0, "type": "String" }, "description": "The session security policy required to initiate identity verification for the user’s session. For example, if the policy is set to High Assurance level of session security, and the user’s current session has the standard level of session security, the user’s session is raised to high assurance after successful verification of identity. In the Setup user interface, this value is shown in the Triggered By column of Identity Verification History. The custom description that describes the activity requiring identity verification; for example, “Complete purchase and check out”. This text appears to users when they verify their identity in Salesforce and, if they use Salesforce Authenticator version 2 or later, in the Salesforce Authenticator mobile app. In addition, in the Setup user interface, this text is shown in the Activity Message column of Identity Verification History. The relative or absolute Salesforce URL that you want to redirect the user to after identity verification—for example, /apex/mypage. The user is redirected to destinationUrl when the identity verification flow is complete, regardless of success. For example, if a user chooses to not respond to the identity challenge and cancels it, the user is still redirected to destinationUrl. As a best practice, ensure that your code for this page manually checks that the security policy was satisfied (and the user didn’t just manually type the URL in the browser). For example, if the policy is High Assurance, the target page checks that the user's session is high assurance before allowing access.", "scope": null } }, "queries": [], "exceptions": [] }, "getcurrentsession()": { "id": "Auth.sessionmanagement.method.getcurrentsession()", "nodeType": "method", "name": "getCurrentSession", "startToken": { "type": "declaration.entity.name.function", "text": "getCurrentSession", "textToLower": "getcurrentsession", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getCurrentSession_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 5, "memberOrder": 5, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static Map<String,String> getCurrentSession()", "overrideSignature": "public static override Map<String,String> getCurrentSession()", "simplifiedSignature": "getCurrentSession()", "datatype": { "id": "Auth.sessionmanagement.getcurrentsession.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": 14 }, "end": { "line": 0, "character": 17 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Map_0:14" }, "parentId": "Auth.sessionmanagement.getcurrentsession", "order": 0, "memberOrder": 0, "type": "Map", "value": { "id": "Auth.sessionmanagement.getcurrentsession.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": 26 }, "end": { "line": 0, "character": 32 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:26" }, "order": 0, "memberOrder": 0, "type": "String" }, "key": { "id": "Auth.sessionmanagement.getcurrentsession.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": 18 }, "end": { "line": 0, "character": 24 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:18" }, "order": 0, "memberOrder": 0, "type": "String" } }, "description": "Returns a map of attributes for the current session.", "parentName": "SessionManagement", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "getlightninglogineligibility(id)": { "id": "Auth.sessionmanagement.method.getlightninglogineligibility(id)", "nodeType": "method", "name": "getLightningLoginEligibility", "startToken": { "type": "declaration.entity.name.function", "text": "getLightningLoginEligibility", "textToLower": "getlightninglogineligibility", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getLightningLoginEligibility_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 6, "memberOrder": 6, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static Auth.LightningLoginEligibility getLightningLoginEligibility(Id userId)", "overrideSignature": "public static override Auth.LightningLoginEligibility getLightningLoginEligibility(Id userId)", "simplifiedSignature": "getLightningLoginEligibility(Id)", "datatype": { "id": "Auth.sessionmanagement.getlightninglogineligibility.datatype.Auth.LightningLoginEligibility", "nodeType": "datatype", "name": "Auth.LightningLoginEligibility", "startToken": { "type": "datatype.support.namespace", "text": "Auth", "textToLower": "auth", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 18 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Auth_0:14" }, "parentId": "Auth.sessionmanagement.getlightninglogineligibility", "order": 0, "memberOrder": 0, "type": "Auth.LightningLoginEligibility" }, "description": "Returns the eligibility status for a user who’s logging in with Lightning Login when you set up your org with My Domain and use the Login Discovery page type. Use this method to redirect the user to a custom login flow. For example, use after a login attempt to redirect the user to password flow if the user is ineligible for Lightning Login.", "parentName": "SessionManagement", "variables": {}, "params": { "userid": { "id": "Auth.sessionmanagement.method.getlightninglogineligibility(id).varParam.userid", "nodeType": "variable", "name": "userId", "startToken": { "type": "declaration.entity.name.variable", "text": "userId", "textToLower": "userid", "isAux": false, "range": { "start": { "line": 0, "character": 77 }, "end": { "line": 0, "character": 83 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_userId_0:77" }, "endToken": { "type": "declaration.entity.name.variable", "text": "userId", "textToLower": "userid", "isAux": false, "range": { "start": { "line": 0, "character": 77 }, "end": { "line": 0, "character": 83 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_userId_0:77" }, "parentId": "Auth.sessionmanagement.method.getlightninglogineligibility(id)", "order": 1, "memberOrder": 1, "datatype": { "id": "Auth.sessionmanagement.getlightninglogineligibility.datatype.Id", "nodeType": "datatype", "name": "Id", "startToken": { "type": "datatype.primitive", "text": "Id", "textToLower": "id", "isAux": false, "range": { "start": { "line": 0, "character": 74 }, "end": { "line": 0, "character": 76 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Id_0:74" }, "parentId": "Auth.sessionmanagement.getlightninglogineligibility", "order": 0, "memberOrder": 0, "type": "Id" }, "description": "ID of the user who is logging in.", "scope": null } }, "queries": [], "exceptions": [] }, "getqrcode()": { "id": "Auth.sessionmanagement.method.getqrcode()", "nodeType": "method", "name": "getQrCode", "startToken": { "type": "declaration.entity.name.function", "text": "getQrCode", "textToLower": "getqrcode", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getQrCode_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 7, "memberOrder": 7, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static Map<String,String> getQrCode()", "overrideSignature": "public static override Map<String,String> getQrCode()", "simplifiedSignature": "getQrCode()", "datatype": { "id": "Auth.sessionmanagement.getqrcode.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": 14 }, "end": { "line": 0, "character": 17 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Map_0:14" }, "parentId": "Auth.sessionmanagement.getqrcode", "order": 0, "memberOrder": 0, "type": "Map", "value": { "id": "Auth.sessionmanagement.getqrcode.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": 26 }, "end": { "line": 0, "character": 32 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:26" }, "order": 0, "memberOrder": 0, "type": "String" }, "key": { "id": "Auth.sessionmanagement.getqrcode.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": 18 }, "end": { "line": 0, "character": 24 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:18" }, "order": 0, "memberOrder": 0, "type": "String" } }, "description": "Returns a map containing a URL to a quick response (QR) code and a time-based one-time password (TOTP) shared secret to configure two-factor authentication apps or devices.", "parentName": "SessionManagement", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "getrequiredsessionlevelforprofile(string)": { "id": "Auth.sessionmanagement.method.getrequiredsessionlevelforprofile(string)", "nodeType": "method", "name": "getRequiredSessionLevelForProfile", "startToken": { "type": "declaration.entity.name.function", "text": "getRequiredSessionLevelForProfile", "textToLower": "getrequiredsessionlevelforprofile", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getRequiredSessionLevelForProfile_-1:0" }, "parentId": "Auth.sessionmanagement", "order": 8, "memberOrder": 8, "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" }, "static": { "type": "keyword.modifier.static", "text": "static", "textToLower": "static", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_static_0:7" }, "signature": "public static Auth.SessionLevel getRequiredSessionLevelForProfile(String profileId)", "overrideSignature": "public static override Auth.SessionLevel getRequiredSessionLevelForProfile(String profileId)", "simplifiedSignature": "getRequiredSessionLevelForProfile(String)", "datatype": { "id": "Auth.sessionmanagement.getrequiredsessionlevelforprofile.datatype.Auth.SessionLevel", "nodeType": "datatype", "name": "Auth.SessionLevel", "startToken": { "type": "datatype.support.namespace", "text": "Auth", "textToLower": "auth", "isAux": false, "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 0, "character": 18 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Auth_0:14" }, "parentId": "Auth.sessionmanagement.getrequiredsessionlevelforprofile", "order": 0, "memberOrder": 0, "type": "Auth.SessionLevel" }, "description": "Indicates the required login security session level for the given profile.", "parentName": "SessionManagement", "variables": {}, "params": { "profileid": { "id": "Auth.sessionmanagement.method.getrequiredsessionlevelforprofile(string).varParam.profileid", "nodeType": "variable", "name": "profileId", "startToken": { "type": "declaration.entity.name.variable", "text": "profileId", "textToLower": "profileid", "isAux": false, "range": { "start": { "line": 0, "character": 73 }, "end": { "line": 0, "character": 82 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_profileId_0:73" }, "endToken": { "type": "declaration.entity.name.variable", "text": "profileId", "textToLower": "profileid", "isAux": false, "range": { "start": { "line": 0,