struct Swagger::OAuth2Flow
- Swagger::OAuth2Flow
- Struct
- Value
- Object
Overview
OAuth2 Flow Object
Defined in:
swagger/oauth2_flow.crConstant Summary
-
GRANT_TYPES =
["authorizationCode", "implicit", "password", "clientCredentials"] of ::String
Constructors
Instance Method Summary
- #authorization_url : String?
- #authorization_url=(authorization_url : Nil | String)
- #name : String
- #name=(name : String)
- #refresh_url : String?
- #refresh_url=(refresh_url : Nil | String)
- #scopes : Hash(String, String)?
- #scopes=(scopes : Nil | Hash(String, String))
- #token_url : String?
- #token_url=(token_url : Nil | String)
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)
#