feat(auth): Add LDAP and SSO authentication support
This commit is contained in:
@@ -29,10 +29,24 @@ class AuthActions {
|
||||
Future<bool> loginWithApiKey(
|
||||
String apiKey, {
|
||||
bool rememberCredentials = false,
|
||||
String authType = 'token',
|
||||
}) {
|
||||
return _auth.loginWithApiKey(
|
||||
apiKey,
|
||||
rememberCredentials: rememberCredentials,
|
||||
authType: authType,
|
||||
);
|
||||
}
|
||||
|
||||
Future<bool> ldapLogin(
|
||||
String username,
|
||||
String password, {
|
||||
bool rememberCredentials = false,
|
||||
}) {
|
||||
return _auth.ldapLogin(
|
||||
username,
|
||||
password,
|
||||
rememberCredentials: rememberCredentials,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user