Sha256: ca06f5e90411600c52150eb76380a853a89fef86b543081dfcc5d8ca80fb599b

Contents?: true

Size: 874 Bytes

Versions: 3

Compression:

Stored size: 874 Bytes

Contents

module Vidibus
  module Oauth2Server
    class Oauth2ServerError < StandardError; end

    class MissingTypeError < Oauth2ServerError; end
    class UnsupportedTypeError < Oauth2ServerError; end

    class MissingClientIdError < Oauth2ServerError; end
    class InvalidClientIdError < Oauth2ServerError; end
    class InvalidClientSecretError < Oauth2ServerError; end

    class MissingRedirectUrlError < Oauth2ServerError; end
    class MalformedRedirectUrlError < Oauth2ServerError; end
    class InvalidRedirectUrlError < Oauth2ServerError; end

    class MissingCodeError < Oauth2ServerError; end
    class InvalidCodeError < Oauth2ServerError; end
    class ExpiredCodeError < Oauth2ServerError; end

    class InvalidTokenError < Oauth2ServerError; end
    class ExpiredTokenError < Oauth2ServerError; end

    FLOWS = %w[web_server code authorization_code]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vidibus-oauth2_server-0.0.6 lib/vidibus/oauth2_server.rb
vidibus-oauth2_server-0.0.5 lib/vidibus/oauth2_server.rb
vidibus-oauth2_server-0.0.4 lib/vidibus/oauth2_server.rb