class JWTSessions::StoreAdapters::AbstractStoreAdapter

Public Instance Methods

all_refresh_tokens(_namespace) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 27
def all_refresh_tokens(_namespace)
  raise NotImplementedError
end
destroy_access(_uid) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 35
def destroy_access(_uid)
  raise NotImplementedError
end
destroy_refresh(_uid, _namespace) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 31
def destroy_refresh(_uid, _namespace)
  raise NotImplementedError
end
fetch_access(_uid) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 6
def fetch_access(_uid)
  raise NotImplementedError
end
fetch_refresh(_uid, _namespace, _first_match) click to toggle source

Set first_match to true to look up through all namespaces

# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 15
def fetch_refresh(_uid, _namespace, _first_match)
  raise NotImplementedError
end
persist_access(_uid, _csrf, _expiration) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 10
def persist_access(_uid, _csrf, _expiration)
  raise NotImplementedError
end
persist_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _expiration:, _namespace:) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 19
def persist_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _expiration:, _namespace:)
  raise NotImplementedError
end
update_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _namespace:) click to toggle source
# File lib/jwt_sessions/store_adapters/abstract_store_adapter.rb, line 23
def update_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _namespace:)
  raise NotImplementedError
end