coldbydefault-portfolio
Preparing search index...
lib/security
tokenMatches
Function tokenMatches
tokenMatches
(
actual
:
string
,
expected
:
string
|
undefined
)
:
boolean
Constant-time comparison of a presented token with the expected secret.
Parameters
actual
:
string
expected
:
string
|
undefined
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
coldbydefault-portfolio
Loading...
Constant-time comparison of a presented token with the expected secret.