github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/kbfs/kbfsblock/bserver_constants.go (about)

     1  // Copyright 2017 Keybase Inc. All rights reserved.
     2  // Use of this source code is governed by a BSD
     3  // license that can be found in the LICENSE file.
     4  
     5  package kbfsblock
     6  
     7  const (
     8  	// ServerTokenServer is the expected server type for bserver authentication.
     9  	ServerTokenServer = "kbfs_block"
    10  	// ServerTokenExpireIn is the TTL to use when constructing an authentication token.
    11  	ServerTokenExpireIn = 24 * 60 * 60 // 24 hours
    12  )