Class OAuth2ResponseValidationFailurePolicy
Policy to specify OAuth2 flow configuration.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class OAuth2ResponseValidationFailurePolicy : ValidationFailurePolicy
Properties
ClientDetails
Declaration
[Required(ErrorMessage = "ClientDetails is required.")]
[JsonProperty(PropertyName = "clientDetails")]
public ClientAppDetails ClientDetails { get; set; }
Property Value
Type | Description |
---|---|
ClientAppDetails |
Remarks
Required
FallbackRedirectPath
Declaration
[JsonProperty(PropertyName = "fallbackRedirectPath")]
public string FallbackRedirectPath { get; set; }
Property Value
Type | Description |
---|---|
string | The path to be used as fallback after OAuth2. |
LogoutPath
Declaration
[JsonProperty(PropertyName = "logoutPath")]
public string LogoutPath { get; set; }
Property Value
Type | Description |
---|---|
string | The path to be used as logout. |
MaxExpiryDurationInHours
Declaration
[JsonProperty(PropertyName = "maxExpiryDurationInHours")]
public int? MaxExpiryDurationInHours { get; set; }
Property Value
Type | Description |
---|---|
int? | The duration for which the OAuth2 success token should be cached before it is fetched again. |
ResponseType
Declaration
[Required(ErrorMessage = "ResponseType is required.")]
[JsonProperty(PropertyName = "responseType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OAuth2ResponseValidationFailurePolicy.ResponseTypeEnum? ResponseType { get; set; }
Property Value
Type | Description |
---|---|
OAuth2ResponseValidationFailurePolicy.ResponseTypeEnum? | Response Type. |
Remarks
Required
Scopes
Declaration
[Required(ErrorMessage = "Scopes is required.")]
[JsonProperty(PropertyName = "scopes")]
public List<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of scopes. |
Remarks
Required
SourceUriDetails
Declaration
[Required(ErrorMessage = "SourceUriDetails is required.")]
[JsonProperty(PropertyName = "sourceUriDetails")]
public SourceUriDetails SourceUriDetails { get; set; }
Property Value
Type | Description |
---|---|
SourceUriDetails |
Remarks
Required
UseCookiesForIntermediateSteps
Declaration
[JsonProperty(PropertyName = "useCookiesForIntermediateSteps")]
public bool? UseCookiesForIntermediateSteps { get; set; }
Property Value
Type | Description |
---|---|
bool? | Defines whether or not to use cookies for OAuth2 intermediate steps. |
UseCookiesForSession
Declaration
[JsonProperty(PropertyName = "useCookiesForSession")]
public bool? UseCookiesForSession { get; set; }
Property Value
Type | Description |
---|---|
bool? | Defines whether or not to use cookies for session maintenance. |
UsePkce
Declaration
[JsonProperty(PropertyName = "usePkce")]
public bool? UsePkce { get; set; }
Property Value
Type | Description |
---|---|
bool? | Defines whether or not to support PKCE. |