ExRabbitMQAdmin.Auth (ex_rabbitmq_admin v0.3.0)

Copy Markdown View Source

This module contains functions for RabbitMQ authentication and OAuth2 configuration.

Summary

Functions

Get OAuth2 configuration details.

List authentication attempts on a node.

List authentication attempts by remote address and username on a node.

Functions

get_auth(client)

@spec get_auth(client :: Tesla.Client.t()) :: {:ok, Tesla.Env.t()} | {:error, term()}

Get OAuth2 configuration details.

list_auth_attempts(client, node)

@spec list_auth_attempts(client :: Tesla.Client.t(), node :: String.t()) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

List authentication attempts on a node.

list_auth_attempts_by_source(client, node)

@spec list_auth_attempts_by_source(client :: Tesla.Client.t(), node :: String.t()) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

List authentication attempts by remote address and username on a node.