struct

Swagger::Objects::SecurityScheme

Inherits JSON::Serializable < Struct < Value < Object

SecurityScheme Object

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

Constructors

new(pull : JSON::PullParser)
Source
new(auth : Authorization)
Source
new(type : String | Nil = nil, description : String | Nil = nil, name : String | Nil = nil, parameter_location : String | Nil = nil, scheme : String | Nil = nil, bearer_format : String | Nil = nil, flows : Hash(String, OAuth2Flow) | Nil = nil, open_id_connect_url : String | Nil = nil, ref : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

api_key(name : String, location : String, description : String | Nil = nil)
Source
basic(description : String | Nil = nil)
Source
bearer(description : String | Nil = nil, format : String | Nil = nil)
Source
oauth2(flows : Array(Swagger::OAuth2Flow), description : String | Nil = nil)
Source

Instance methods

bearer_format
Source
description
Source
flows
Source
name
Source
open_id_connect_url
Source
parameter_location
Source
scheme
Source
type
Source