Class OAuthGrantType
An enumeration of OAuthGrantType values in the Okta API.
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public sealed class OAuthGrantType : StringEnum, IComparable
Constructors
OAuthGrantType(String)
Creates a new OAuthGrantType instance.
Declaration
public OAuthGrantType(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to use. |
Fields
AuthorizationCode
The authorization_code OAuthGrantType.
Declaration
public static OAuthGrantType AuthorizationCode
Field Value
Type | Description |
---|---|
OAuthGrantType |
ClientCredentials
The client_credentials OAuthGrantType.
Declaration
public static OAuthGrantType ClientCredentials
Field Value
Type | Description |
---|---|
OAuthGrantType |
Implicit
The implicit OAuthGrantType.
Declaration
public static OAuthGrantType Implicit
Field Value
Type | Description |
---|---|
OAuthGrantType |
Password
The password OAuthGrantType.
Declaration
public static OAuthGrantType Password
Field Value
Type | Description |
---|---|
OAuthGrantType |
RefreshToken
The refresh_token OAuthGrantType.
Declaration
public static OAuthGrantType RefreshToken
Field Value
Type | Description |
---|---|
OAuthGrantType |
Operators
Implicit(String to OAuthGrantType)
Implicit operator declaration to accept and convert a string value as a OAuthGrantType
Declaration
public static implicit operator OAuthGrantType(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to use |
Returns
Type | Description |
---|---|
OAuthGrantType |
Implements
System.IComparable