# Packages
Package mock_auth is a generated GoMock package.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateClientKey generates key and self-signed cert if the file does not exist in WssdConfigLocation If the file exists the values from the fie is returned.
GenerateClientKeyWithName generates key and self-signed cert if the file does not exist in GetWssdConfigLocationName If the file exists the values from the fie is returned.
GetCertificateDirPath will return the directory path where the client certificate will be stored.
GetCertificateFilePath will return the file path where the client certificate will be stored.
GetLoginTokenPath will return the file path where the login yaml will be stored.
GetWssdConfigLocationName gets the path for access filename from environment + subfolder with file name fileName.
GetSettingsFromEnvironment Read settings from WssdConfigLocation.
GetSettingsFromEnvironmentByName Read settings from GetWssdConfigLocationName.
GetWssdConfigLocation gets the path for access file from environment.
Hash calculates the SHA-256 hash of the Subject Public Key Information (SPKI) object in an x509 certificate (in DER encoding).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBearerAuthorizer crates a BearerAuthorizer using the given token provider.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSet returns a new, empty PubKeyPinSet.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrintAccessFile stores wssdConfig in WssdConfigLocation.
PrintAccessFileByName stores wssdConfig in GetWssdConfigLocationName.
No description provided by the author
renewCertificates picks the wssdconfig from the location performs a renewal if close to expiry and stores the same back to the location.
No description provided by the author
SetCertificateDirPath sets the directory path where the client certificate will be stored This is achieved by setting ACCESSFILE_DIR_PATH environment variable The path is appended with the executable name before the certificate is stored.
SetCertificateFilePath sets the file path where the client certificate will be stored This is achieved by setting WSSD_CONFIG_PATH environment variable.
SetLoginTokenPath sets the path where the login yaml will be stored This is achieved by setting WSSD_CLIENT_TOKEN environment variable The path is appended with the executable name before the certificate is stored.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CASigned ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SelfSigned ...
No description provided by the author
No description provided by the author
# Structs
BearerAuthorizer implements the bearer authorization.
EnvironmentSettings contains the available authentication settings.
No description provided by the author
No description provided by the author
No description provided by the author
Set is a set of pinned x509 public keys.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
LoginType [Depricated : Needs to cleaned up after removing references].