LogoRobo.js
Packages@robojs/mock

createAuthMiddleware()

Function: createAuthMiddleware()

function createAuthMiddleware(provider): (req) => Promise<AuthResult>

Create an authentication middleware for the control API This is a stub for future hosted deployment support

Parameters

ParameterType
providerAuthProvider

Returns

Function

Parameters

ParameterType
reqRequest

Returns

Promise<AuthResult>

On this page