struct Swagger::Objects::SecurityScheme

Overview

SecurityScheme Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#componentsSecuritySchemes

Included Modules

Defined in:

swagger/objects/security_scheme.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(auth : Authorization) #

[View source]
def self.new(type : String? = nil, description : String? = nil, name : String? = nil, parameter_location : String? = nil, scheme : String? = nil, bearer_format : String? = nil, flows : Hash(String, OAuth2Flow)? = nil, open_id_connect_url : String? = nil, ref : String? = nil) #

[View source]

Class Method Detail

def self.api_key(name : String, location : String, description : String? = nil) #

[View source]
def self.basic(description : String? = nil) #

[View source]
def self.bearer(description : String? = nil, format : String? = nil) #

[View source]
def self.oauth2(flows : Array(Swagger::OAuth2Flow), description : String? = nil) #

[View source]

Instance Method Detail

def bearer_format : String? #

[View source]
def description : String? #

[View source]
def flows : Hash(String, OAuth2Flow)? #

[View source]
def name : String? #

[View source]
def open_id_connect_url : String? #

[View source]
def parameter_location : String? #

[View source]
def ref : String? #

[View source]
def scheme : String? #

[View source]
def type : String? #

[View source]