logo
logo

Class OAuthPasswordGrant

This grant is a great user experience for trusted first party clients both on the web and in native device applications. Also known as "Resource owner credentials grant".

Inheritance
System.Object
OAuthPasswordGrant
Namespace: Stylelabs.M.Sdk.WebClient.Authentication
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public class OAuthPasswordGrant : object
Remarks

Properties

ClientId

Gets or sets the client's id.

Declaration
public string ClientId { get; set; }
Property Value
Type Description
System.String

ClientSecret

Gets or sets the client's secret.

Declaration
public string ClientSecret { get; set; }
Property Value
Type Description
System.String

Password

Gets or sets the Sitecore Content Hub user's password.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

UserName

Gets or sets the Sitecore Content Hub user's username.

Declaration
public string UserName { get; set; }
Property Value
Type Description
System.String

Can we improve this article ? Provide feedback