Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArangodJwtAuthorizationHeader ¶
CreateArangodJwtAuthorizationHeader calculates a JWT authorization header, for authorization of a request to an arangod server, based on the given secret. If the secret is empty, nothing is done. Use the result of this function as input for driver.RawAuthentication.
func CreateArangodJwtAuthorizationHeaderAllowedPaths ¶
func CreateArangodJwtAuthorizationHeaderAllowedPaths(jwtSecret, serverID string, paths []string) (string, error)
CreateArangodJwtAuthorizationHeaderAllowedPaths calculates a JWT authorization header, for authorization of a request to an arangod server, based on the given secret. If the secret is empty, nothing is done. Use the result of this function as input for driver.RawAuthentication. Additionally allowed paths can be specified
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.