IPWorks Auth 2020 Delphi Edition

Questions / Feedback?

GetUserInfo Method

Retrieves claims about the user.

procedure GetUserInfo();

Remarks

This method retrieves claims about the user. Before calling GetUserInfo method a successful call to GetAuthorization must be made. The access token returned by GetAuthorization is used by the OpenID provider at ServerUserInfoURL to identify the user for which claims are being retrieved.

When this method is called the component requests the claims about the user from the ServerUserInfoURL. The resulting claims are available in the UserDetail* properties.

Note: The GetUserInfo method will populate the UserDetail* properties with the claims returned in the ID token during the authorization process. This method may not need to be called in order to access the desired claims about the user.


openid.GetUserInfo();
// ... use the user info in the remainder of your application ...

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Delphi Edition - Version 20.0 [Build 8155]