Exception: JwtAuthenticable::Exceptions::InvalidAuthScheme

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jwt_authenticable/exceptions.rb

Overview

Exception for invalid auth schemes. E.g. users trying to authenticate with basic auth

Instance Method Summary collapse

Instance Method Details

#messageObject



8
9
10
# File 'lib/jwt_authenticable/exceptions.rb', line 8

def message
  'Invalid authentication scheme. Only Bearer is supported'
end