Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client talks to an AuthZ server. Never instantiate one directly, rather use NewClient.
func NewClient ¶
NewClient instantiates an AuthZ client to connect to the server endpoint specified by the URL param. The pdpBaseURL is the base URL of your policy decision point, e.g. * http://your.authz/authzforce-ce/domain * https://your.authz:44300/authzforce-ce/domain we'll append the domain ID from the user token and a 'pdp' so the resulting URL will be e.g. * http://your.authz/authzforce-ce/domain/nrEEeq7c9rA/pdp * https://your.authz:44300/authzforce-ce/domain/nrEEeq7c9rA/pdp
Click to show internal directories.
Click to hide internal directories.