Documentation ¶
Overview ¶
Package auth provides testing tools for auth based purposes
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// TestPrivRSAKey1 provides an RSA key used to sign tokens
TestPrivRSAKey1, _ = rsa.GenerateKey(rand.Reader, testKeySize)
// TestPrivRSAKey1ID is the ID of this signing key in tokens
TestPrivRSAKey1ID = "testKey1"
// TestPrivRSAKey2 provides an RSA key used to sign tokens
TestPrivRSAKey2, _ = rsa.GenerateKey(rand.Reader, testKeySize)
// TestPrivRSAKey2ID is the ID of this signing key in tokens
TestPrivRSAKey2ID = "testKey2"
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.