Module: Bosh::Director::Api::Extensions::Scoping::Helpers
- Defined in:
- lib/bosh/director/api/extensions/scoping.rb
Instance Method Summary collapse
Instance Method Details
#current_user ⇒ Object
6 7 8 |
# File 'lib/bosh/director/api/extensions/scoping.rb', line 6 def current_user @user.username_or_client if @user end |
#token_scopes ⇒ Object
10 11 12 |
# File 'lib/bosh/director/api/extensions/scoping.rb', line 10 def token_scopes @user.scopes if @user end |