Documentation ¶
Index ¶
Constants ¶
View Source
const ( NO_AUTH_TOKEN_PROVIDED_ERROR_MESSAGE = "Error: Authorization not provided" INVALID_AUTH_TOKEN_ERROR_MESSAGE = "Error: Invalid authorization" )
View Source
const BEARER_PREFIX = "bearer "
View Source
const LOGGREGATOR_ADMIN_ROLE = "doppler.firehose"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAccessAuthorizer ¶
func NewAdminAccessAuthorizer ¶
func NewAdminAccessAuthorizer(disableAccessControl bool, client uaa_client.UaaClient) AdminAccessAuthorizer
type LogAccessAuthorizer ¶
TODO: We don't need to return an error and a status code. One will suffice.
func NewLogAccessAuthorizer ¶
func NewLogAccessAuthorizer(disableAccessControl bool, apiHost string) LogAccessAuthorizer
Click to show internal directories.
Click to hide internal directories.