mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-16 18:08:40 +00:00
tailcfg: document new RegisterRequest.Expiry behavior
Deployed to control server. For upcoming "logout" command and fixes. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
b74a8994ca
commit
c50c3f0313
@ -591,8 +591,12 @@ type RegisterRequest struct {
|
||||
Oauth2Token *Oauth2Token
|
||||
AuthKey string
|
||||
}
|
||||
Expiry time.Time // requested key expiry, server policy may override
|
||||
Followup string // response waits until AuthURL is visited
|
||||
// Expiry optionally specifies the requested key expiry.
|
||||
// The server policy may override.
|
||||
// As a special case, if Expiry is in the past and NodeKey is
|
||||
// the node's current key, the key is expired.
|
||||
Expiry time.Time
|
||||
Followup string // response waits until AuthURL is visited
|
||||
Hostinfo *Hostinfo
|
||||
|
||||
// The following fields are not used for SignatureNone and are required for
|
||||
|
Loading…
x
Reference in New Issue
Block a user