Adapter.authInfo
authInfo is a JSON object sent by the Connector to the Adapter so the Adapter and/or Core Banking System can | identify the User making the call. | | The authInfo object contains several optional objects and fields. | |Please see the Message Docs for your connector for the current JSON structure. The following serves as a guide: | |* userId is the user_id as generated by OBP |* username can be chosen explicitly to match an existing customer number (not recommended) |* linkedCustomers is a list of Customers the User is explicitly linked to. Use the <a href="/#OBPv2_0_0-createUserCustomerLinks">Create User Customer Link endpoint</a> to populate this data. |* userAuthContexts may contain the customer number or other tokens in order to boot strap the User Customer Links |or provide an alternative method of tagging the User with an authorisation context. |Use the <a href="/#OBPv3_1_0-createUserAuthContext">Create UserAuthContext endpoint</a> to populate this data. |* cbsToken is a token used by the CBS to identify the user's session. Either generated by the CBS or Gateway. |* isFirst is a flag that indicates that OBP should refresh the user's list of accounts from the CBS (and flush / invalidate any User's cache) |* correlationId just identifies the API call. |* authViews are entitlements given by account holders to third party users e.g. Sam may grant her accountant Jill read only access to her business account. See the <a href="http://localhost:5174/index#OBPv3_0_0-createViewForBankAccount">Create View endpoint</a> | |<img width="468" alt="authinfo_annotated_1" src="https://user-images.githubusercontent.com/485218/48432550-f6f0d100-e774-11e8-84dc-e94520ba186e.png"></img> | | | |