Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // For authentication of runner and store Secret string // disable authentication while development IsDev bool }
Config is the object used to configure the auth module
type JWTAlgorithm ¶
type JWTAlgorithm string
JWTAlgorithm describes the jwt algorithm to use
const ( // RSA256 is used for rsa256 algorithm RSA256 JWTAlgorithm = "rsa256" // HS256 is used for hs256 algorithm HS256 JWTAlgorithm = "hs256" )
Click to show internal directories.
Click to hide internal directories.