struct

Swagger::OAuth2Flow

Inherits Struct < Value < Object

OAuth2 Flow Object

Constants

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

Constructors

new(name : String, authorization_url : String | Nil = nil, token_url : String | Nil = nil, refresh_url : String | Nil = nil, scopes : Hash(String, String) | Nil = nil)
Source

Instance methods

authorization_url
Source
authorization_url=(authorization_url : Nil | String)
Source
name
Source
name=(name : String)
Source
refresh_url
Source
refresh_url=(refresh_url : Nil | String)
Source
scopes
Source
scopes=(scopes : Nil | Hash(String, String))
Source
token_url
Source
token_url=(token_url : Nil | String)
Source