Table of Contents

Class UserIdentity

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record UserIdentity : IJsonOnDeserialized, IEquatable<UserIdentity>
Inheritance
UserIdentity
Implements
Inherited Members
Extension Methods

Properties

AccessToken

IDP access token returned if scope read:user_idp_tokens is defined.

[JsonPropertyName("access_token")]
public string? AccessToken { get; set; }

Property Value

string

AccessTokenSecret

IDP access token secret returned only if scope read:user_idp_tokens is defined.

[JsonPropertyName("access_token_secret")]
public string? AccessTokenSecret { get; set; }

Property Value

string

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

Connection

Connection name of this identity.

[JsonPropertyName("connection")]
public required string Connection { get; set; }

Property Value

string

IsSocial

Whether the identity provider is a social provider (true) or not (false).

[JsonPropertyName("isSocial")]
public bool? IsSocial { get; set; }

Property Value

bool?

ProfileData

[JsonPropertyName("profileData")]
public UserProfileData? ProfileData { get; set; }

Property Value

UserProfileData

Provider

Type of identity provider.

[JsonPropertyName("provider")]
public required string Provider { get; set; }

Property Value

string

RefreshToken

IDP refresh token returned only if scope read:user_idp_tokens is defined.

[JsonPropertyName("refresh_token")]
public string? RefreshToken { get; set; }

Property Value

string

UserId

user_id of this identity.

[JsonPropertyName("user_id")]
public required UserId UserId { get; set; }

Property Value

UserId

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.