# Packages
No description provided by the author
# Functions
GenerateRandomBytes returns securely generated random bytes.
GenerateRandomString returns a URL-safe, base64 encoded securely generated random string.
GetValidToken is a helper function that returns a token struct only if it finds a non expired token for the session.
# Variables
APIURLEnvVar is the environment variable key that represents the base api URL endpoint that this app should use to access cloud foundry data.
BasePathEnvVar is the path to the application root.
BuildInfoEnvVar is the environment variable key that represents the particular build number.
ClientIDEnvVar is the environment variable key that represents the registered Client ID for this web app.
ClientSecretEnvVar is the environment variable key that represents the Client Secret associated with the registered Client ID for this web app.
HostnameEnvVar is the environment variable key that represents the hostname of this web app.
LoginURLEnvVar is the environment variable key that represents the base login URL endpoint that this app should use to authenticate users.
LogURLEnvVar is the environment variable key that represents the endpoint to the loggregator.
NewRelicLicenseEnvVar is the New Relic License key so it can collect data.
PProfEnabledEnvVar is the environment variable key that represents if the pprof routes should be enabled.
SecureCookiesEnvVar is set to true or 1, then set the Secure flag be set on session coookies.
SessionBackendEnvVar is the session backend type.
SessionKeyEnvVar is the secret key used to protect session data.
TimeoutConstant is a constant which holds how long any incoming request should wait until we timeout.
UAAURLEnvVar is the environment variable key that represents the base uaa URL endpoint that this app should use to get tokens.