Settings resource; oauth2 app authorization model; UI cleanup
This commit is contained in:
13
app/models/auth/AppAuthorization.model.js
Normal file
13
app/models/auth/AppAuthorization.model.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const { Model } = require('flitter-orm')
|
||||
|
||||
class AppAuthorizationModel extends Model {
|
||||
static get schema() {
|
||||
return {
|
||||
client_id: String,
|
||||
authorize_date: { type: Date, default: () => new Date },
|
||||
api_scopes: [String],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = exports = AppAuthorizationModel
|
||||
Reference in New Issue
Block a user