ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/debug/my-role/route
GET
Function GET
GET
()
:
Promise
<
|
NextResponse
<
{
authenticated
:
boolean
;
message
:
string
}
>
|
NextResponse
<
{
authenticated
:
boolean
;
user
:
{
id
:
string
|
undefined
;
email
:
string
|
undefined
;
name
:
string
|
null
|
undefined
;
roleId
:
string
|
undefined
;
roleName
:
string
|
undefined
;
status
:
UserStatus
|
undefined
;
}
;
session
:
{
email
:
string
;
name
:
string
;
roleName
:
string
|
null
|
undefined
;
}
;
hasAccessToSecurity
:
boolean
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
GET /api/debug/my-role Afficher les infos de l'utilisateur connecté (debug)
Returns
Promise
<
|
NextResponse
<
{
authenticated
:
boolean
;
message
:
string
}
>
|
NextResponse
<
{
authenticated
:
boolean
;
user
:
{
id
:
string
|
undefined
;
email
:
string
|
undefined
;
name
:
string
|
null
|
undefined
;
roleId
:
string
|
undefined
;
roleName
:
string
|
undefined
;
status
:
UserStatus
|
undefined
;
}
;
session
:
{
email
:
string
;
name
:
string
;
roleName
:
string
|
null
|
undefined
;
}
;
hasAccessToSecurity
:
boolean
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/debug/my-role Afficher les infos de l'utilisateur connecté (debug)