# Function: generateRestRoutesAuthenticationAdmin()

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

The REST routes for authentication admin.

## 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.
