diff options
author | Markus Koller <markus-koller@gmx.ch> | 2016-12-09 20:36:50 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-03-07 16:54:35 +0300 |
commit | c4982890489d254da2fe998aab30bf257767ed5e (patch) | |
tree | 0828e0cab70cabaceffcc0d588db32ac38ddf310 /app/models/oauth_access_grant.rb | |
parent | fb4a486605e10692b5577f0700fbce38bebcc311 (diff) |
Implement OpenID Connect identity provider
Diffstat (limited to 'app/models/oauth_access_grant.rb')
-rw-r--r-- | app/models/oauth_access_grant.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/oauth_access_grant.rb b/app/models/oauth_access_grant.rb new file mode 100644 index 00000000000..3a997406565 --- /dev/null +++ b/app/models/oauth_access_grant.rb @@ -0,0 +1,4 @@ +class OauthAccessGrant < Doorkeeper::AccessGrant + belongs_to :resource_owner, class_name: 'User' + belongs_to :application, class_name: 'Doorkeeper::Application' +end |