## Please enable JavaScript to view this site.

# Linkar Web Services 1.1.9

- Zoom Window Out
- Larger Text | Smaller Text
- Hide Page Header
- Show Expanding Text
- Print Topic
- Send Mail Feedback
- Share This Topic
- Save Permalink URL

MV Components | Scroll Prev Top Next More

SUB.LK.MAIN.WS.IDENTITY.RESOURCES

LinkarWS provides this Basic subroutine so that the administrator can manage users access in Oauth 2.0 Authentication mode. In case that we give control of the Identity Resources to the Database, when a user re-quests access to the API from a client, LinkarWS calls this routine to accept or reject the request. It is also used to support Forgot Password and New User Registration methods. The subroutine must be catalogued in the MV account. SUBROUTINE SUB.LK.MAIN.WS.IDENTITY.RESOURCES (ERROR,ID.METHOD,USERNAME,INFODATA,INDATA,OUTDATA) •ERROR This is the variable where errors are returned. •ID.METHOD LinkarWS will call each method based on the request: ▪LOGIN. To validate user login. ▪GET.USER. To obtain user data. Similar to Login method. ▪REGISTER. To manage the registration from a new user. ▪FOTGOT.PASS. To manage password changes. •USERNAME Is the logged in user. •INFODATA It is an input argument with the following data: ClientID, IdentityResource, ScopeRequested, URL, Body. •INDATA It is an input argument with a different structure for each method, detailed in the source code of the subroutine through of equates statements. •OUTDATA It is an output argument with a different structure for each method, detailed in the source code of the subroutine through of equates statements. The source code is available at https://github.com/kosday/Resources

by Kosday Solutions