@truenas/api-client
GitHub
Preparing search index...
AuthResponse
Interface AuthResponse
interface
AuthResponse
{
authenticator
?:
"LEVEL_1"
|
"LEVEL_2"
|
"LEVEL_3"
;
max_inactivity
?:
number
;
max_session_age
?:
number
;
response_type
:
AuthResponseType
;
urls
?:
string
[]
;
user_info
?:
{
attributes
:
{
preferences
:
UserPreferences
;
[
key
:
string
]:
unknown
}
;
builtin
:
boolean
;
email
:
string
|
null
;
fullname
:
string
;
gid
:
number
;
group
:
{
bsdgrp_builtin
:
boolean
;
bsdgrp_gid
:
number
;
bsdgrp_group
:
string
;
bsdgrp_smb
:
boolean
;
bsdgrp_sudo
:
boolean
;
bsdgrp_sudo_commands
:
string
[]
;
bsdgrp_sudo_nopasswd
:
boolean
;
bsdgrp_users
:
number
[]
;
id
:
number
;
}
;
groups
:
number
[]
;
home
:
string
;
id
:
number
;
immutable
:
boolean
;
locked
:
boolean
;
privilege
:
{
roles
:
{
$set
:
UserRole
[]
}
}
;
shell
:
string
;
sid
:
string
;
smb
:
boolean
;
sshpubkey
:
string
|
null
;
sudo
:
boolean
;
sudo_commands
:
string
[]
;
sudo_nopasswd
:
boolean
;
two_factor_auth_configured
:
boolean
;
uid
:
number
;
username
:
string
;
}
;
username
?:
string
;
}
Index
Properties
authenticator?
max_
inactivity?
max_
session_
age?
response_
type
urls?
user_
info?
username?
Properties
Optional
authenticator
authenticator
?:
"LEVEL_1"
|
"LEVEL_2"
|
"LEVEL_3"
Optional
max_
inactivity
max_inactivity
?:
number
Optional
max_
session_
age
max_session_age
?:
number
response_
type
response_type
:
AuthResponseType
Optional
urls
urls
?:
string
[]
Optional
user_
info
user_info
?:
{
attributes
:
{
preferences
:
UserPreferences
;
[
key
:
string
]:
unknown
}
;
builtin
:
boolean
;
email
:
string
|
null
;
fullname
:
string
;
gid
:
number
;
group
:
{
bsdgrp_builtin
:
boolean
;
bsdgrp_gid
:
number
;
bsdgrp_group
:
string
;
bsdgrp_smb
:
boolean
;
bsdgrp_sudo
:
boolean
;
bsdgrp_sudo_commands
:
string
[]
;
bsdgrp_sudo_nopasswd
:
boolean
;
bsdgrp_users
:
number
[]
;
id
:
number
;
}
;
groups
:
number
[]
;
home
:
string
;
id
:
number
;
immutable
:
boolean
;
locked
:
boolean
;
privilege
:
{
roles
:
{
$set
:
UserRole
[]
}
}
;
shell
:
string
;
sid
:
string
;
smb
:
boolean
;
sshpubkey
:
string
|
null
;
sudo
:
boolean
;
sudo_commands
:
string
[]
;
sudo_nopasswd
:
boolean
;
two_factor_auth_configured
:
boolean
;
uid
:
number
;
username
:
string
;
}
Optional
username
username
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
authenticator
max_
inactivity
max_
session_
age
response_
type
urls
user_
info
username
GitHub
@truenas/api-client
Loading...