Class OAuthConfigObject
- Namespace
- Swashbuckle.AspNetCore.SwaggerUI
- Assembly
- Swashbuckle.AspNetCore.SwaggerUI.dll
public class OAuthConfigObject
- Inheritance
-
OAuthConfigObject
- Inherited Members
Constructors
OAuthConfigObject()
public OAuthConfigObject()
Properties
AdditionalQueryStringParams
Additional query parameters added to authorizationUrl and tokenUrl
public Dictionary<string, string> AdditionalQueryStringParams { get; set; }
Property Value
AppName
Application name, displayed in authorization popup
public string AppName { get; set; }
Property Value
ClientId
Default clientId
public string ClientId { get; set; }
Property Value
ClientSecret
Default clientSecret
public string ClientSecret { get; set; }
Property Value
Realm
Realm query parameter (for oauth1) added to authorizationUrl and tokenUrl
public string Realm { get; set; }
Property Value
ScopeSeparator
Scope separator for passing scopes, encoded before calling, default value is a space (encoded value %20)
public string ScopeSeparator { get; set; }
Property Value
UseBasicAuthenticationWithAccessCodeGrant
Only activated for the accessCode flow. During the authorization_code request to the tokenUrl, pass the Client Password using the HTTP Basic Authentication scheme (Authorization header with Basic base64encode(client_id + client_secret))
public bool UseBasicAuthenticationWithAccessCodeGrant { get; set; }