Sha256: 7f7da0b39e5687f79fbf08d04f3a6786721fef90da3cb2222048cd8106ed7403

Contents?: true

Size: 600 Bytes

Versions: 31

Compression:

Stored size: 600 Bytes

Contents

module Stytch
    class JWTInvalidIssuerError < StandardError
        def initialize(msg="JWT issuer did not match")
            super
        end
    end

    class JWTInvalidAudienceError < StandardError
        def initialize(msg="JWT audience did not match")
            super
        end
    end

    class JWTExpiredSignatureError < StandardError
        def initialize(msg="JWT signature has expired")
            super
        end
    end

    class JWTIncorrectAlgorithmError < StandardError
        def initialize(msg="JWT algorithm is incorrect")
            super
        end
    end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
stytch-5.0.2 lib/stytch/errors.rb
stytch-5.0.1 lib/stytch/errors.rb
stytch-5.0.0 lib/stytch/errors.rb
stytch-4.5.1 lib/stytch/errors.rb
stytch-4.5.0 lib/stytch/errors.rb
stytch-4.4.0 lib/stytch/errors.rb
stytch-4.3.1 lib/stytch/errors.rb
stytch-4.3.0 lib/stytch/errors.rb
stytch-4.2.0 lib/stytch/errors.rb
stytch-4.1.0 lib/stytch/errors.rb
stytch-4.0.0 lib/stytch/errors.rb
stytch-3.15.0 lib/stytch/errors.rb
stytch-3.14.0 lib/stytch/errors.rb
stytch-3.13.1 lib/stytch/errors.rb
stytch-3.13.0 lib/stytch/errors.rb
stytch-3.12.0 lib/stytch/errors.rb
stytch-3.11.0 lib/stytch/errors.rb
stytch-3.10.0 lib/stytch/errors.rb
stytch-3.9.0 lib/stytch/errors.rb
stytch-3.8.0 lib/stytch/errors.rb