struct Swagger::Objects::OAuth2Flow
- Swagger::Objects::OAuth2Flow
- Struct
- Value
- Object
Overview
OAuth2 Flow Object
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/oauth2_flow.crConstant Summary
-
GRANT_TYPES =
["authorizationCode", "implicit", "password", "clientCredentials"] of ::String
Constructors
- .new(pull : JSON::PullParser)
- .new(authorization_url : String | Nil = nil, token_url : String | Nil = nil, refresh_url : String | Nil = nil, scopes : Hash(String, String) | Nil = nil)
Instance Method Summary
- #authorization_url : String | Nil
- #refresh_url : String | Nil
- #scopes : Hash(String, String) | Nil
- #token_url : String | Nil
Constructor Detail
def self.new(authorization_url : String | Nil = nil, token_url : String | Nil = nil, refresh_url : String | Nil = nil, scopes : Hash(String, String) | Nil = nil)
#