Table of Contents

Method GetUserInfo

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

GetUserInfo(ZedalCallContext)

Reads the current profile data of the signed-in account, modelled on the OpenID Connect UserInfo endpoint. Use it instead of the claims of the tokens: the values are read when the call is made. Requires scope openid, otherwise the call fails with PERMISSION_DENIED; the scopes profile and email select the fields of the result.

Task<UserInfo> GetUserInfo(ZedalCallContext context = default)

Parameters

context ZedalCallContext

Optionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.

Returns

Task<UserInfo>

the profile data of the signed-in account.