gerard2p/koaton

View on GitHub
src/middleware/oauth2models.js

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Function oauth2application has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

oauth2application (schema) {
return {
'model': {
'ClientId': {
type: schema.String
Severity: Minor
Found in src/middleware/oauth2models.js - About 1 hr to fix

Function oauth2accesstoken has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

oauth2accesstoken (schema) {
return {
'model': {
'UserId': {
type: schema.String
Severity: Minor
Found in src/middleware/oauth2models.js - About 1 hr to fix
Category
Status