You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
400 B
18 lines
400 B
import CRUDBase from '../CRUDBase.js'
|
|
|
|
class ScopeResource extends CRUDBase {
|
|
constructor() {
|
|
super()
|
|
|
|
this.endpoint = '/api/v1/reflect/scopes'
|
|
this.required_fields = ['scope']
|
|
this.permission_base = 'v1:reflect:scopes'
|
|
|
|
this.item = 'API Scope'
|
|
this.plural = 'API Scopes'
|
|
}
|
|
}
|
|
|
|
const reflect_scope = new ScopeResource()
|
|
export { reflect_scope }
|