Module: Levelup::Templates::AppAuthenticated

Included in:
Requests::CreateUser, Requests::RequestPermissions, Requests::ShowPermissionsRequest
Defined in:
lib/levelup/templates/app_authenticated.rb

Overview

A template to apply to any requests requiring app authentication. Authentication template - only apply one authentication template per request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#app_access_tokenObject

An access token for an app.


7
8
9
# File 'lib/levelup/templates/app_authenticated.rb', line 7

def app_access_token
  @app_access_token
end

Instance Method Details

#auth_typeObject


9
10
11
# File 'lib/levelup/templates/app_authenticated.rb', line 9

def auth_type
  :app
end