struct Open::Api::Security::Scheme::HTTPAuth::Bearer

Defined in:

open-api/security.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor methods inherited from struct Open::Api::Security::Scheme::HTTPAuth

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Instance methods inherited from struct Open::Api::Security::Scheme

auth_type : String auth_type, description : String | Nil description, description=(description : String | Nil) description=

Constructor methods inherited from struct Open::Api::Security::Scheme

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(bearer_format : String, description : String | Nil = nil) #

[View source]

Class Method Detail

def self.jwt #

[View source]

Instance Method Detail

def bearer_format : String #

A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.


[View source]
def scheme : String #

[View source]