Sha256: dfa1fa9f0944c2468ed4ec5443f8fc359ad3f730d9add2e7c7bb9e01be2377b5

Contents?: true

Size: 618 Bytes

Versions: 5

Compression:

Stored size: 618 Bytes

Contents

module JWTKeeper
  # the session is invalid
  class NotAuthenticatedError < StandardError; end

  # The token is invalid
  class InvalidTokenError < StandardError; end

  # The token expiry claim is invalid
  class ExpiredTokenError < InvalidTokenError; end

  # The token was force expired
  class RevokedTokenError < InvalidTokenError; end

  # The token not before claim is invalid
  class EarlyTokenError < InvalidTokenError; end

  # The token issuer claim is invalid
  class BadIssuerError < InvalidTokenError; end

  # The token audience claim is invalid
  class LousyAudienceError < InvalidTokenError; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jwt_keeper-6.1.3 lib/jwt_keeper/exceptions.rb
jwt_keeper-6.1.2 lib/jwt_keeper/exceptions.rb
jwt_keeper-6.1.1 lib/jwt_keeper/exceptions.rb
jwt_keeper-6.1.0 lib/jwt_keeper/exceptions.rb
jwt_keeper-6.0.0 lib/jwt_keeper/exceptions.rb