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
Implements
Namespace: Stylelabs.M.Sdk.WebClient.Authentication
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public class OAuthPasswordGrant : object, IOAuthGrant
Remarks

Properties

ClientId

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

ClientSecret

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

Implements

Can we improve this article ? Provide feedback