Skip to content

Commit

Permalink
refactor: move exception definition up and removed unused one
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliomartinezlm committed Jun 20, 2020
1 parent 4e41ee6 commit 05d0135
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/webauthn/attestation_statement/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

module WebAuthn
module AttestationStatement
class UnsupportedAlgorithm < Error; end

ATTESTATION_TYPE_NONE = "None"
ATTESTATION_TYPE_BASIC = "Basic"
ATTESTATION_TYPE_SELF = "Self"
Expand All @@ -22,9 +24,6 @@ module AttestationStatement
].freeze

class Base
class UnsupportedAlgorithm < Error; end
class NotSupportedError < Error; end

AAGUID_EXTENSION_OID = "1.3.6.1.4.1.45724.1.1.4"

def initialize(statement)
Expand Down

0 comments on commit 05d0135

Please sign in to comment.