Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DisableAuthenticationEnvVar specifies an environment variable that, if set, causes // Pachyderm authentication to ignore github and authmatically generate a // pachyderm token for any username in the AuthenticateRequest.GithubToken field DisableAuthenticationEnvVar = "PACHYDERM_AUTHENTICATION_DISABLED_FOR_TESTING" )
Variables ¶
This section is empty.
Functions ¶
func AccessTokenToUsername ¶ added in v1.5.3
AccessTokenToUsername takes a OAuth access token issued by GitHub and uses it discover the username of the user who obtained the code. This is how Pachyderm currently implements authorization in a production cluster
func NewAuthServer ¶
func NewAuthServer(pachdAddress string, etcdAddress string, etcdPrefix string) (authclient.APIServer, error)
NewAuthServer returns an implementation of authclient.APIServer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.