Class ResourceOwnerTokenRequest
- Namespace
- Auth0.AuthenticationApi.Models
- Assembly
- Auth0.AuthenticationApi.dll
Represents a request get a token using the Resource Owner Grant flow.
public class ResourceOwnerTokenRequest : IClientAuthentication
- Inheritance
-
ResourceOwnerTokenRequest
- Implements
- Inherited Members
Properties
Audience
Optional unique identifier of the target API to access.
public string Audience { get; set; }
Property Value
ClientAssertionSecurityKey
Security Key to use with Client Assertion
public SecurityKey ClientAssertionSecurityKey { get; set; }
Property Value
ClientAssertionSecurityKeyAlgorithm
Algorithm for the Security Key to use with Client Assertion
public string ClientAssertionSecurityKeyAlgorithm { get; set; }
Property Value
ClientId
Client ID of the application.
public string ClientId { get; set; }
Property Value
ClientSecret
Optional client secret of the application.
public string ClientSecret { get; set; }
Property Value
ForwardedForIp
IP address of the end user this token is requested for.
public string ForwardedForIp { get; set; }
Property Value
Remarks
It is important to set this if using this API server-side. See https://auth0.com/docs/api-auth/tutorials/using-resource-owner-password-from-server-side for more details.
Password
Resource Owner's secret.
public string Password { get; set; }
Property Value
Realm
Optional realm the user belongs to.
public string Realm { get; set; }
Property Value
Remarks
See https://auth0.com/docs/api-auth/grant/password#realm-support for more details.
Scope
Optional scopes to be requested. Separate multiple values with a space.
public string Scope { get; set; }
Property Value
SigningAlgorithm
What JwtSignatureAlgorithm is used to verify the signature of Id Tokens.
public JwtSignatureAlgorithm SigningAlgorithm { get; set; }
Property Value
Username
Resource Owner's identifier.
public string Username { get; set; }