package
0.8.3
Repository: https://github.com/eko/authz.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Retrieve an action.
Lists actions.
Retrieve audits for last days @security Authentication @Summary Retrieve audits for last days @Tags Check @Produce json @Param page query int false "page number" example(1) @Param size query int false "page size" minimum(1) maximum(1000) default(100) @Param filter query string false "filter on a field" example(kind:contains:something) @Param sort query string false "sort field and order" example(kind:desc) @Success 200 {object} []model.Audit @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/audits [Get].
Authenticates a user @security Authentication @Summary Authenticates a user @Tags Auth @Produce json @Param default body AuthRequest true "Authentication request" @Success 200 {object} AuthResponse @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/auth [Post].
Check if a principal has access to do action on resource.
Creates a new client @security Authentication @Summary Creates a new client @Tags Client @Produce json @Param default body ClientCreateRequest true "Client creation request" @Success 200 {object} model.Client @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/clients [Post].
Deletes a client.
Retrieve a client.
Lists clients.
Retrieve compiled policies @security Authentication @Summary Retrieve compiled policies @Tags Policy @Produce json @Success 200 {object} []model.CompiledPolicy @Failure 404 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/policies/{identifier}/matches [Get].
No description provided by the author
Authenticates a user using an OAuth OpenID Connect provider @security Authentication @Summary Authenticates a user using an OAuth OpenID Connect provider @Tags Auth @Success 302 @Failure 500 {object} model.ErrorResponse @Router /v1/oauth [Get].
Callback of the OAuth OpenID Connect provider authentication @security Authentication @Summary Callback of the OAuth OpenID Connect provider authentication @Tags Auth @Success 200 {object} AuthResponse @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/oauth/callback [Get].
Creates a new policy.
Deletes a policy.
Retrieve a policy.
Lists policies.
Updates a policy.
Creates a new principal.
Deletes a principal.
Retrieve a principal.
Lists principals.
Updates a principal.
Creates a new resource.
Deletes a resource.
Retrieve a resource.
Lists resources.
Updates a resource.
Creates a new role.
Deletes a role.
Retrieve a role.
Lists roles.
Updates a role.
Retrieve statistics for last days @security Authentication @Summary Retrieve statistics for last days @Tags Check @Produce json @Success 200 {object} []model.Stats @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/stats [Get].
Retrieve a client token @security Authentication @Summary Retrieve a client token @Tags Auth @Produce json @Param default body TokenRequest true "Token request" @Success 200 {object} TokenResponse @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/token [Post].
Creates a new user @security Authentication @Summary Creates a new user @Tags User @Produce json @Param default body UserCreateRequest true "User creation request" @Success 200 {object} model.User @Failure 400 {object} model.ErrorResponse @Failure 500 {object} model.ErrorResponse @Router /v1/users [Post].
Deletes a user.
Retrieve a user.
Lists users.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author