TF-571 Implement AuthenticationOIDC repository with Hive

This commit is contained in:
Dat PHAM HOANG
2022-05-31 14:29:30 +07:00
committed by Dat H. Pham
parent 03777be4a8
commit 471465e1bc
8 changed files with 246 additions and 1 deletions
@@ -24,4 +24,14 @@ class AuthenticationOIDCRepositoryImpl extends AuthenticationOIDCRepository {
Future<TokenOIDC> getTokenOIDC(String clientId, String redirectUrl, String discoveryUrl, List<String> scopes) {
return _oidcDataSource.getTokenOIDC(clientId, redirectUrl, discoveryUrl, scopes);
}
@override
Future<TokenOIDC> getStoredTokenOIDC(String tokenIdHash) {
return _oidcDataSource.getStoredTokenOIDC(tokenIdHash);
}
@override
Future<void> persistTokenOIDC(TokenOIDC tokenOidc) {
return _oidcDataSource.persistTokenOIDC(tokenOidc);
}
}