struct Swagger::Objects::OAuth2Flow

Overview

OAuth2 Flow Object

Included Modules

Defined in:

swagger/objects/oauth2_flow.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(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 | Nil #

[View source]
def refresh_url : String | Nil #

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

[View source]
def token_url : String | Nil #

[View source]