Wise.Services.SCA (Wise v1.0.0)

Copy Markdown View Source

Wise Strong Customer Authentication (SCA) API.

Summary

Functions

Returns true if all required challenges have been passed.

Returns list of required+unpassed challenges.

Functions

passed?(arg1)

@spec passed?(map()) :: boolean()
@spec passed?(term()) :: boolean()

Returns true if all required challenges have been passed.

pending_challenges(arg1)

@spec pending_challenges(map()) :: [map()]
@spec pending_challenges(term()) :: [map()]

Returns list of required+unpassed challenges.

status(config)

@spec status(Wise.Config.t()) :: {:ok, map()} | {:error, Wise.Error.t()}

verify(config, attrs)

@spec verify(Wise.Config.t(), map()) :: {:ok, map()} | {:error, Wise.Error.t()}