Table of Contents

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

Dictionary<string, string>

AppName

Application name, displayed in authorization popup

public string AppName { get; set; }

Property Value

string

ClientId

Default clientId

public string ClientId { get; set; }

Property Value

string

ClientSecret

Default clientSecret

public string ClientSecret { get; set; }

Property Value

string

Realm

Realm query parameter (for oauth1) added to authorizationUrl and tokenUrl

public string Realm { get; set; }

Property Value

string

ScopeSeparator

Scope separator for passing scopes, encoded before calling, default value is a space (encoded value %20)

public string ScopeSeparator { get; set; }

Property Value

string

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; }

Property Value

bool