class Redd::AuthStrategies::Userless

A userless authentication scheme.

Public Instance Methods

authenticate() click to toggle source

Perform authentication and return the resulting access object @return [Access] the access token object

# File lib/redd/auth_strategies/userless.rb, line 11
def authenticate
  request_access('client_credentials')
end
refresh(_) click to toggle source

Refresh the authentication and return the refreshed access @return [Access] the new access

# File lib/redd/auth_strategies/userless.rb, line 17
def refresh(_)
  authenticate
end