Sha256: c66a08da0ae689e18d3d8acb2400388a768afd647ea9d12f2e38e2718b6d3751

Contents?: true

Size: 927 Bytes

Versions: 3

Compression:

Stored size: 927 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
    class MissingTokenError < 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.9 lib/vidibus/oauth2_server.rb
vidibus-oauth2_server-0.0.8 lib/vidibus/oauth2_server.rb
vidibus-oauth2_server-0.0.7 lib/vidibus/oauth2_server.rb