chore: 🤖 oidc auth methods are not yet editable in admin ui
This commit is contained in:
3 files changed
+27
-6
No files matched your search
@@ -1,3 +1,19 @@
|
||||
import GeneratedAuthMethodModel from '../generated/models/auth-method';
|
||||
|
||||
export default class AuthMethodModel extends GeneratedAuthMethodModel {}
|
||||
export default class AuthMethodModel extends GeneratedAuthMethodModel {
|
||||
// =attributes
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
get isPassword() {
|
||||
return this.type === 'password';
|
||||
}
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
get isOIDC() {
|
||||
return this.type === 'oidc';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user