Authzed.Api.V1.Client (Authzed v1.8.0)

Copy Markdown View Source

Summary

Functions

Establishes a gRPC connection with the Authzed service.

Functions

new(endpoint, auth_header_or_ssl_cred, opts \\ [])

Establishes a gRPC connection with the Authzed service.

endpoint is a target string for GRPC.Stub.connect/2, for example "localhost:50051", "grpc.example.com:443", or a typed address such as "ipv4:10.0.0.5:50051".

Connections use the Gun adapter unless you pass :adapter.

Options

https://hexdocs.pm/grpc/GRPC.Stub.html#connect/2-options

new(host, port, auth_header, opts)

This function is deprecated. Use Client.new/3 with a single GRPC target string; see GRPC.Stub.connect/2..