Class: Apiphobic::Tokens::JsonWebTokens::Null

Inherits:
Null
  • Object
show all
Includes:
Configurable, RolePredicable
Defined in:
lib/apiphobic/tokens/json_web_tokens/null.rb

Instance Method Summary collapse

Methods included from RolePredicable

#method_missing, #respond_to_missing?

Methods included from Configurable

#configuration, included

Methods inherited from Null

#blank?, #to_h, #to_s, #valid?, #validate!

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Apiphobic::Tokens::RolePredicable

Instance Method Details

#audienceObject



14
15
16
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 14

def audience
  nil
end

#expirationObject



26
27
28
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 26

def expiration
  nil
end

#idObject



30
31
32
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 30

def id
  nil
end

#issued_atObject



18
19
20
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 18

def issued_at
  nil
end

#issuerObject



22
23
24
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 22

def issuer
  nil
end

#not_beforeObject



34
35
36
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 34

def not_before
  nil
end

#owner_idObject



38
39
40
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 38

def owner_id
  nil
end

#rolesObject



50
51
52
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 50

def roles
  []
end

#subjectObject



46
47
48
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 46

def subject
  nil
end

#subject_idObject



42
43
44
# File 'lib/apiphobic/tokens/json_web_tokens/null.rb', line 42

def subject_id
  nil
end