Module: Levelup::Templates::UserAuthenticated

Overview

A template to apply to any requests requiring user authentication.

Authentication template - only apply one authentication template per request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_access_tokenObject

An access token for a user that has granted you appropriate permissions.


10
11
12
# File 'lib/levelup/templates/user_authenticated.rb', line 10

def user_access_token
  @user_access_token
end

Instance Method Details

#auth_typeObject


12
13
14
# File 'lib/levelup/templates/user_authenticated.rb', line 12

def auth_type
  :user
end