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)
SourceInstance methods
authorization_url
Sourceauthorization_url=(authorization_url : Nil | String)
Sourcename
Sourcename=(name : String)
Sourcerefresh_url
Sourcerefresh_url=(refresh_url : Nil | String)
Sourcescopes
Sourcescopes=(scopes : Nil | Hash(String, String))
Sourcetoken_url
Sourcetoken_url=(token_url : Nil | String)
Source