Zum Hauptinhalt springen

UserInfoData

Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication

Represents the user info data.

public class UserInfoData

Inheritance Object → UserInfoData

Properties​

Claims​

Gets the claims received

public IEnumerable<Claim> Claims { get; }

Property Value​

IEnumerable<Claim>

IsAuthenticated​

True, if the user is authenticated

public bool IsAuthenticated { get; }

Property Value​

Boolean

Constructors​

UserInfoData(Boolean, IEnumerable<Claim>)​

Constructor

public UserInfoData(bool isAuthenticated, IEnumerable<Claim> claims)

Parameters​

isAuthenticated Boolean
True, if the user is authenticated

claims IEnumerable<Claim>
A list of claim received