struct Swagger::OAuth2Flow

Overview

OAuth2 Flow Object

Defined in:

swagger/oauth2_flow.cr

Constant Summary

GRANT_TYPES = ["authorizationCode", "implicit", "password", "clientCredentials"] of ::String

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, authorization_url : String? = nil, token_url : String? = nil, refresh_url : String? = nil, scopes : Hash(String, String)? = nil) #

[View source]

Instance Method Detail

def authorization_url : String? #

[View source]
def authorization_url=(authorization_url) #

[View source]
def name : String #

[View source]
def name=(name) #

[View source]
def refresh_url : String? #

[View source]
def refresh_url=(refresh_url) #

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

[View source]
def scopes=(scopes) #

[View source]
def token_url : String? #

[View source]
def token_url=(token_url) #

[View source]