Class OAuthPasswordGrant

Current version: 3.4

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

Properties

ClientId

Gets or sets the client id.

Declaration
RequestResponse
public string ClientId { get; set; }
Property Value
TypeDescription
string

ClientSecret

Gets or sets the client secret.

Declaration
RequestResponse
public string ClientSecret { get; set; }
Property Value
TypeDescription
string

Password

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

Declaration
RequestResponse
public string Password { get; set; }
Property Value
TypeDescription
string

UserName

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

Declaration
RequestResponse
public string UserName { get; set; }
Property Value
TypeDescription
string

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,