Skip to content

Commit 3c6082a

Browse files
committed
Remove unneeded OAuth model wrappers
Remove OauthApplication, OauthAccessToken, and OauthAccessGrant model files. These classes were empty wrappers around Doorkeeper models that inherited directly from ApplicationRecord, bypassing Doorkeeper's validations, associations, and behavior. These wrapper classes were never referenced and posed a maintenance risk if used inadvertently in the future. Reference Doorkeeper's models directly instead (Doorkeeper::Application, Doorkeeper::AccessToken, and Doorkeeper::AccessGrant).
1 parent f443c9a commit 3c6082a

3 files changed

Lines changed: 0 additions & 55 deletions

File tree

app/models/oauth_access_grant.rb

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/models/oauth_access_token.rb

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/models/oauth_application.rb

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)