TF-624 Add method authenticateOidcOnBrowser to AuthenticationOIDCRepository repository
This commit is contained in:
@@ -26,4 +26,10 @@ abstract class AuthenticationOIDCDataSource {
|
||||
String refreshToken);
|
||||
|
||||
Future<bool> logout(TokenId tokenId, OIDCConfiguration config);
|
||||
|
||||
Future<void> authenticateOidcOnBrowser(
|
||||
String clientId,
|
||||
String redirectUrl,
|
||||
String discoveryUrl,
|
||||
List<String> scopes);
|
||||
}
|
||||
@@ -83,4 +83,10 @@ class AuthenticationOIDCDataSourceImpl extends AuthenticationOIDCDataSource {
|
||||
Future<void> deleteAuthorityOidc() {
|
||||
return _oidcConfigurationCacheManager.deleteAuthorityOidc();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> authenticateOidcOnBrowser(String clientId, String redirectUrl,
|
||||
String discoveryUrl, List<String> scopes) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
}
|
||||
@@ -71,4 +71,10 @@ class AuthenticationOIDCRepositoryImpl extends AuthenticationOIDCRepository {
|
||||
Future<void> deleteAuthorityOidc() {
|
||||
return _oidcDataSource.deleteAuthorityOidc();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> authenticateOidcOnBrowser(String clientId,
|
||||
String redirectUrl, String discoveryUrl, List<String> scopes) {
|
||||
return _oidcDataSource.authenticateOidcOnBrowser(clientId, redirectUrl, discoveryUrl, scopes);
|
||||
}
|
||||
}
|
||||
@@ -26,4 +26,10 @@ abstract class AuthenticationOIDCRepository {
|
||||
String refreshToken);
|
||||
|
||||
Future<bool> logout(TokenId tokenId, OIDCConfiguration config);
|
||||
|
||||
Future<void> authenticateOidcOnBrowser(
|
||||
String clientId,
|
||||
String redirectUrl,
|
||||
String discoveryUrl,
|
||||
List<String> scopes);
|
||||
}
|
||||
Reference in New Issue
Block a user