-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
P4ADEV-446 caching AccessToken String (#21)
- Loading branch information
1 parent
122b7c5
commit 816d379
Showing
5 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
8 changes: 3 additions & 5 deletions
8
src/main/java/it/gov/pagopa/payhub/auth/service/TokenStoreService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package it.gov.pagopa.payhub.auth.service; | ||
|
||
import it.gov.pagopa.payhub.model.generated.AccessToken; | ||
|
||
import java.util.Map; | ||
|
||
public interface TokenStoreService { | ||
Map<String, String> save(AccessToken accessToken, Map<String, String> idTokenClaims); | ||
Map<String, String> load(AccessToken accessToken); | ||
void delete(AccessToken accessToken); | ||
Map<String, String> save(String accessToken, Map<String, String> idTokenClaims); | ||
Map<String, String> load(String accessToken); | ||
void delete(String accessToken); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters