add ssoEnabled flag to network config

This commit is contained in:
Grant Limberg 2021-06-05 13:44:45 -07:00
parent 9380ef708a
commit 364ad87e2b
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
8 changed files with 56 additions and 23 deletions

View file

@ -1345,15 +1345,20 @@ typedef struct
*/
ZT_VirtualNetworkDNS dns;
/**
* sso enabled
*/
bool ssoEnabled;
/**
* If the status us AUTHENTICATION_REQUIRED, this may contain a URL for authentication.
*/
char authenticationURL[2048];
/**
* Time that current authentication expires or -1 if external authentication is not required.
* Time that current authentication expires. only valid if ssoEnabled is true
*/
int64_t authenticationExpiryTime;
uint64_t authenticationExpiryTime;
} ZT_VirtualNetworkConfig;
/**