# Function: generateRestRoutesAuthenticationAudit()

> **generateRestRoutesAuthenticationAudit**(`baseRouteName`, `componentName`): `IRestRoute`\<`any`, `any`\>[]

The REST routes for authentication audit.

## Parameters

### baseRouteName

`string`

Prefix to prepend to the paths.

### componentName

`string`

The name of the component to use in the routes stored in the ComponentFactory.

## Returns

`IRestRoute`\<`any`, `any`\>[]

The generated routes.
