Class: JWTSessions::StoreAdapters::AbstractStoreAdapter
- Inherits:
-
Object
- Object
- JWTSessions::StoreAdapters::AbstractStoreAdapter
show all
- Defined in:
- lib/jwt_sessions/store_adapters/abstract_store_adapter.rb
Instance Method Summary
collapse
-
#all_refresh_tokens(_namespace) ⇒ Object
-
#destroy_access(_uid) ⇒ Object
-
#destroy_refresh(_uid, _namespace) ⇒ Object
-
#fetch_access(_uid) ⇒ Object
-
#fetch_refresh(_uid, _namespace, _first_match) ⇒ Object
Set first_match to true to look up through all namespaces.
-
#persist_access(_uid, _csrf, _expiration) ⇒ Object
-
#persist_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _expiration:, _namespace:) ⇒ Object
-
#update_refresh(_uid:, _access_expiration:, _access_uid:, _csrf:, _namespace:) ⇒ Object
Instance Method Details
#all_refresh_tokens(_namespace) ⇒ Object
27
28
29
|
# File 'lib/jwt_sessions/store_adapters/abstract_store_adapter.rb', line 27
def all_refresh_tokens(_namespace)
raise NotImplementedError
end
|
#destroy_access(_uid) ⇒ Object
35
36
37
|
# File 'lib/jwt_sessions/store_adapters/abstract_store_adapter.rb', line 35
def destroy_access(_uid)
raise NotImplementedError
end
|
#destroy_refresh(_uid, _namespace) ⇒ Object
31
32
33
|
# File 'lib/jwt_sessions/store_adapters/abstract_store_adapter.rb', line 31
def destroy_refresh(_uid, _namespace)
raise NotImplementedError
end
|
#fetch_access(_uid) ⇒ Object
6
7
8
|
# 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) ⇒ Object
Set first_match to true to look up through all namespaces
15
16
17
|
# 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) ⇒ Object
10
11
12
|
# 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:) ⇒ Object
19
20
21
|
# 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:) ⇒ Object
23
24
25
|
# 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
|