struct Swagger::Objects::SecurityScheme
- Swagger::Objects::SecurityScheme
- Struct
- Value
- Object
Overview
SecurityScheme Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#componentsSecuritySchemes
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/security_scheme.crConstructors
- .new(pull : JSON::PullParser)
- .new(auth : Authorization)
- .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)
Class Method Summary
- .api_key(name : String, location : String, description : String? = nil)
- .basic(description : String? = nil)
- .bearer(description : String? = nil, format : String? = nil)
- .oauth2(flows : Array(Swagger::OAuth2Flow), description : String? = nil)
Instance Method Summary
- #bearer_format : String?
- #description : String?
- #flows : Hash(String, OAuth2Flow)?
- #name : String?
- #open_id_connect_url : String?
- #parameter_location : String?
- #ref : String?
- #scheme : String?
- #type : String?
Constructor Detail
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)
#