class OAuth2::Strategy::ClientCredentials
@see datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-15#section-4.4<br><br>The Client Credentials Strategy
def authorize_url
-
(NotImplementedError)
-
def authorize_url raise(NotImplementedError, 'The authorization endpoint is not used in this strategy') end
def get_token(params = {}, opts = {})
-
opts
(Hash
) -- options -
params
(Hash
) -- additional params
def get_token(params = {}, opts = {}) params = params.merge('grant_type' => 'client_credentials') @client.get_token(params, opts) end