Class: OAuth2::Client
- Inherits:
-
Object
- Object
- OAuth2::Client
- Defined in:
- sig/lib/oauth2/oauth2.rbs
Instance Method Summary collapse
- #assertion ⇒ Strategy::Assertion
- #auth_code ⇒ Strategy::AuthCode
- #client_credentials ⇒ Strategy::ClientCredentials
- #fetch_token ⇒ AccessToken
- #implicit ⇒ Strategy::Implicit
-
#initialize ⇒ Client
constructor
A new instance of Client.
- #password ⇒ Strategy::Password
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
88 |
# File 'sig/lib/oauth2/oauth2.rbs', line 88
def initialize: (String | nil, String | nil, Hash[Symbol, untyped]) -> void
|
Instance Method Details
#assertion ⇒ Strategy::Assertion
100 |
# File 'sig/lib/oauth2/oauth2.rbs', line 100
def assertion: () -> Strategy::Assertion
|
#auth_code ⇒ Strategy::AuthCode
92 |
# File 'sig/lib/oauth2/oauth2.rbs', line 92
def auth_code: () -> Strategy::AuthCode
|
#client_credentials ⇒ Strategy::ClientCredentials
98 |
# File 'sig/lib/oauth2/oauth2.rbs', line 98
def client_credentials: () -> Strategy::ClientCredentials
|
#fetch_token ⇒ AccessToken
90 |
# File 'sig/lib/oauth2/oauth2.rbs', line 90
def fetch_token: (url: String, **untyped) -> AccessToken
|
#implicit ⇒ Strategy::Implicit
94 |
# File 'sig/lib/oauth2/oauth2.rbs', line 94
def implicit: () -> Strategy::Implicit
|
#password ⇒ Strategy::Password
96 |
# File 'sig/lib/oauth2/oauth2.rbs', line 96
def password: () -> Strategy::Password
|