Module: Monban::Domain::Auth::Claim

Included in:
Decoder, Encoder
Defined in:
lib/monban/domain/auth.rb

Instance Method Summary collapse

Instance Method Details

#authy_rolesObject



17
18
19
# File 'lib/monban/domain/auth.rb', line 17

def authy_roles
  ["registered","unregistered"]
end

#iss(type) ⇒ Object



13
14
15
# File 'lib/monban/domain/auth.rb', line 13

def iss(type)
  "#{type}@#{jwt_service}"
end