mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-10-20 21:57:32 +02:00
13 lines
234 B
Ruby
13 lines
234 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
module ProofProvider
|
||
|
SUPPORTED_PROVIDERS = %w(keybase).freeze
|
||
|
|
||
|
def self.find(identifier, proof = nil)
|
||
|
case identifier
|
||
|
when 'keybase'
|
||
|
ProofProvider::Keybase.new(proof)
|
||
|
end
|
||
|
end
|
||
|
end
|