IPWorks Auth 2020 Python Edition

Questions / Feedback?

get_user_info Method

Retrieves claims about the user.

Syntax

def get_user_info() -> None: ...

Remarks

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

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

Note: The on_get_user_info 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 Python Edition - Version 20.0 [Build 8155]