Class RulesContext
- Namespace
- Auth0.ManagementApi.Models.Rules
- Assembly
- Auth0.ManagementApi.dll
[JsonObject]
public class RulesContext
- Inheritance
-
RulesContext
- Inherited Members
Properties
ClientId
The client id of the application the user is logging in to.
[JsonProperty("clientID")]
public string ClientId { get; set; }
Property Value
ClientName
[JsonProperty("clientName")]
public string ClientName { get; set; }
Property Value
Connection
The name of the connection used to authenticate the user (e.g.: twitter or some-google-apps-domain)
[JsonProperty("connection")]
public string Connection { get; set; }
Property Value
ConnectionStrategy
The type of connection.
[JsonProperty("connectionStrategy")]
public string ConnectionStrategy { get; set; }
Property Value
Remarks
For social connection connectionStrategy === connection. For enterprise connections, the strategy will be waad (Windows Azure AD), ad (Active Directory/LDAP), auth0 (database connections), etc.
JwtConfiguration
[JsonProperty("jwtConfiguration")]
public dynamic JwtConfiguration { get; set; }
Property Value
- dynamic
LoginRequest
An object containing useful information of the request.
[JsonProperty("request")]
public LoginRequest LoginRequest { get; set; }
Property Value
Protocol
The authentication protocol.
[JsonProperty("protocol")]
public string Protocol { get; set; }
Property Value
Remarks
Possible values: oidc-basic-profile (most used, web based login), oidc-implicit-profile (used on mobile devices and single page apps), oauth2-resource-owner (user/password login typically used on database connections), samlp (SAML protocol used on SaaS apps), wsfed (WS-Federation used on Microsoft products like Office365), wstrust-usernamemixed (WS-trust user/password login used on CRM and Office365), and delegation (when calling the Delegation endpoint).
SamlConfiguration
An object that controls the behavior of the SAML and WS-Fed endpoints. Useful for advanced claims mapping and token enrichment (only available for samlp and wsfed protocol).
[JsonProperty("samlConfiguration")]
public dynamic SamlConfiguration { get; set; }
Property Value
- dynamic
SingleSignOn
[JsonProperty("sso")]
public RulesContextSsoConfiguration SingleSignOn { get; set; }
Property Value
Stats
An object containing specific user stats, like stats.loginsCount.
[JsonProperty("stats")]
public RulesContextStats Stats { get; set; }