Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestAuthUser = "clouditor" TestAuthPassword = "clouditor" TestAuthClientID = "client" TestAuthClientSecret = "secret" )
Variables ¶
This section is empty.
Functions ¶
func AuthClientConfig ¶
func AuthClientConfig(port int) *clientcredentials.Config
func StartAuthenticationServer ¶
func StartAuthenticationServer() (srv *oauth2.AuthorizationServer, port int, err error)
StartAuthenticationServer starts an authentication server on a random port with users and clients specified in the TestAuthUser and TestAuthClientID constants.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.