Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.net.xsrftoken
  • Platforms: .NET, .NET Standard 2.0, Island

Constants


Timeout

 

const Timeout: Int64 = 86400000000000;

 

const Int64 Timeout = 86400000000000

 

static let Timeout: Int64 = 86400000000000

 

const Timeout Int64 = 86400000000000

 

Dim Timeout As Int64 = 86400000000000

Methods


Generate

 

class method Generate(key: string; userID: string; actionID: string): string

 

static string Generate(string key, string userID, string actionID)

 

static func Generate(_ key: string, _ userID: string, _ actionID: string) -> string

 

func Generate(key string, userID string, actionID string) string

 

Shared Function Generate(key As string, userID As string, actionID As string) As string

Parameters:

  • key:
  • userID:
  • actionID:

Valid

 

class method Valid(token: string; key: string; userID: string; actionID: string): bool

 

static bool Valid(string token, string key, string userID, string actionID)

 

static func Valid(_ token: string, _ key: string, _ userID: string, _ actionID: string) -> bool

 

func Valid(token string, key string, userID string, actionID string) bool

 

Shared Function Valid(token As string, key As string, userID As string, actionID As string) As bool

Parameters:

  • token:
  • key:
  • userID:
  • actionID: