Module: Arcp::Auth::AuthScheme

Included in:
Bearer
Defined in:
lib/arcp/auth/auth_scheme.rb

Overview

AuthScheme is an interface: implementations expose

`#verify(token) -> Principal | nil`

Returning nil rejects the credential; raise to surface errors.

Instance Method Summary collapse

Instance Method Details

#verify(_token) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/arcp/auth/auth_scheme.rb', line 11

def verify(_token)
  raise NotImplementedError
end