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 = nil, token_url : String | Nil = nil, refresh_url : String | Nil = nil, scopes : Hash(String, String) | Nil = nil) #

[View source]

Instance Method Detail

def authorization_url : String? #

[View source]
def authorization_url=(authorization_url : Nil | String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def refresh_url : String? #

[View source]
def refresh_url=(refresh_url : Nil | String) #

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

[View source]
def scopes=(scopes : Nil | Hash(String, String)) #

[View source]
def token_url : String? #

[View source]
def token_url=(token_url : Nil | String) #

[View source]