Table of Contents

Class ConnectionScriptsOAuth1

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Custom scripts to transform user profile data or modify OAuth1 flow behavior

[Serializable]
public record ConnectionScriptsOAuth1 : IJsonOnDeserialized, IEquatable<ConnectionScriptsOAuth1>
Inheritance
ConnectionScriptsOAuth1
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

FetchUserProfile

Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used.

[JsonPropertyName("fetchUserProfile")]
public string? FetchUserProfile { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.