Documentation ¶
Index ¶
- Constants
- func NewAuthConnectionServiceHandler(svc AuthConnectionServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type AuthConnectionServiceClient
- type AuthConnectionServiceHandler
- type UnimplementedAuthConnectionServiceHandler
- func (UnimplementedAuthConnectionServiceHandler) CreateAuthConnection(context.Context, ...) (*connect_go.Response[authconnection.CreateAuthConnectionResponse], error)
- func (UnimplementedAuthConnectionServiceHandler) DeleteAuthConnection(context.Context, ...) (*connect_go.Response[authconnection.DeleteAuthConnectionResponse], error)
- func (UnimplementedAuthConnectionServiceHandler) GetAuthConnection(context.Context, *connect_go.Request[authconnection.GetAuthConnectionRequest]) (*connect_go.Response[authconnection.GetAuthConnectionResponse], error)
- func (UnimplementedAuthConnectionServiceHandler) GetAuthConnectionSettings(context.Context, ...) (*connect_go.Response[authconnection.GetAuthConnectionSettingsResponse], error)
- func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionGroups(context.Context, ...) (*connect_go.Response[authconnection.UpdateAuthConnectionGroupsResponse], error)
- func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionSecret(context.Context, ...) (*connect_go.Response[authconnection.UpdateAuthConnectionSecretResponse], error)
Constants ¶
const ( // AuthConnectionServiceCreateAuthConnectionProcedure is the fully-qualified name of the // AuthConnectionService's CreateAuthConnection RPC. AuthConnectionServiceCreateAuthConnectionProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/CreateAuthConnection" // AuthConnectionServiceGetAuthConnectionSettingsProcedure is the fully-qualified name of the // AuthConnectionService's GetAuthConnectionSettings RPC. AuthConnectionServiceGetAuthConnectionSettingsProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/GetAuthConnectionSettings" // AuthConnectionServiceGetAuthConnectionProcedure is the fully-qualified name of the // AuthConnectionService's GetAuthConnection RPC. AuthConnectionServiceGetAuthConnectionProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/GetAuthConnection" // AuthConnectionServiceDeleteAuthConnectionProcedure is the fully-qualified name of the // AuthConnectionService's DeleteAuthConnection RPC. AuthConnectionServiceDeleteAuthConnectionProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/DeleteAuthConnection" // AuthConnectionServiceUpdateAuthConnectionSecretProcedure is the fully-qualified name of the // AuthConnectionService's UpdateAuthConnectionSecret RPC. AuthConnectionServiceUpdateAuthConnectionSecretProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/UpdateAuthConnectionSecret" // AuthConnectionServiceUpdateAuthConnectionGroupsProcedure is the fully-qualified name of the // AuthConnectionService's UpdateAuthConnectionGroups RPC. AuthConnectionServiceUpdateAuthConnectionGroupsProcedure = "/api.v1alpha1.org.authconnection.AuthConnectionService/UpdateAuthConnectionGroups" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AuthConnectionServiceName is the fully-qualified name of the AuthConnectionService service.
AuthConnectionServiceName = "api.v1alpha1.org.authconnection.AuthConnectionService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuthConnectionServiceHandler ¶
func NewAuthConnectionServiceHandler(svc AuthConnectionServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewAuthConnectionServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AuthConnectionServiceClient ¶
type AuthConnectionServiceClient interface { // CreateAuthConnection creates a new auth0 connection. CreateAuthConnection(context.Context, *connect_go.Request[authconnection.CreateAuthConnectionRequest]) (*connect_go.Response[authconnection.CreateAuthConnectionResponse], error) // GetAuthConnectionSettings gets auth connection settings. // DEPRECATED: use GetAuthConnection GetAuthConnectionSettings(context.Context, *connect_go.Request[authconnection.GetAuthConnectionSettingsRequest]) (*connect_go.Response[authconnection.GetAuthConnectionSettingsResponse], error) // GetAuthConnection gets an existing auth connection. GetAuthConnection(context.Context, *connect_go.Request[authconnection.GetAuthConnectionRequest]) (*connect_go.Response[authconnection.GetAuthConnectionResponse], error) // DeleteAuthConnection removes the current orgs auth settings. DeleteAuthConnection(context.Context, *connect_go.Request[authconnection.DeleteAuthConnectionRequest]) (*connect_go.Response[authconnection.DeleteAuthConnectionResponse], error) // UpdateAuthConnectionSecret updates a connections secret. UpdateAuthConnectionSecret(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionSecretRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionSecretResponse], error) // UpdateAuthConnectionGroups updates a connections groups. UpdateAuthConnectionGroups(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionGroupsRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionGroupsResponse], error) }
AuthConnectionServiceClient is a client for the api.v1alpha1.org.authconnection.AuthConnectionService service.
func NewAuthConnectionServiceClient ¶
func NewAuthConnectionServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) AuthConnectionServiceClient
NewAuthConnectionServiceClient constructs a client for the api.v1alpha1.org.authconnection.AuthConnectionService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AuthConnectionServiceHandler ¶
type AuthConnectionServiceHandler interface { // CreateAuthConnection creates a new auth0 connection. CreateAuthConnection(context.Context, *connect_go.Request[authconnection.CreateAuthConnectionRequest]) (*connect_go.Response[authconnection.CreateAuthConnectionResponse], error) // GetAuthConnectionSettings gets auth connection settings. // DEPRECATED: use GetAuthConnection GetAuthConnectionSettings(context.Context, *connect_go.Request[authconnection.GetAuthConnectionSettingsRequest]) (*connect_go.Response[authconnection.GetAuthConnectionSettingsResponse], error) // GetAuthConnection gets an existing auth connection. GetAuthConnection(context.Context, *connect_go.Request[authconnection.GetAuthConnectionRequest]) (*connect_go.Response[authconnection.GetAuthConnectionResponse], error) // DeleteAuthConnection removes the current orgs auth settings. DeleteAuthConnection(context.Context, *connect_go.Request[authconnection.DeleteAuthConnectionRequest]) (*connect_go.Response[authconnection.DeleteAuthConnectionResponse], error) // UpdateAuthConnectionSecret updates a connections secret. UpdateAuthConnectionSecret(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionSecretRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionSecretResponse], error) // UpdateAuthConnectionGroups updates a connections groups. UpdateAuthConnectionGroups(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionGroupsRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionGroupsResponse], error) }
AuthConnectionServiceHandler is an implementation of the api.v1alpha1.org.authconnection.AuthConnectionService service.
type UnimplementedAuthConnectionServiceHandler ¶
type UnimplementedAuthConnectionServiceHandler struct{}
UnimplementedAuthConnectionServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthConnectionServiceHandler) CreateAuthConnection ¶
func (UnimplementedAuthConnectionServiceHandler) CreateAuthConnection(context.Context, *connect_go.Request[authconnection.CreateAuthConnectionRequest]) (*connect_go.Response[authconnection.CreateAuthConnectionResponse], error)
func (UnimplementedAuthConnectionServiceHandler) DeleteAuthConnection ¶
func (UnimplementedAuthConnectionServiceHandler) DeleteAuthConnection(context.Context, *connect_go.Request[authconnection.DeleteAuthConnectionRequest]) (*connect_go.Response[authconnection.DeleteAuthConnectionResponse], error)
func (UnimplementedAuthConnectionServiceHandler) GetAuthConnection ¶ added in v1.7.25
func (UnimplementedAuthConnectionServiceHandler) GetAuthConnection(context.Context, *connect_go.Request[authconnection.GetAuthConnectionRequest]) (*connect_go.Response[authconnection.GetAuthConnectionResponse], error)
func (UnimplementedAuthConnectionServiceHandler) GetAuthConnectionSettings ¶
func (UnimplementedAuthConnectionServiceHandler) GetAuthConnectionSettings(context.Context, *connect_go.Request[authconnection.GetAuthConnectionSettingsRequest]) (*connect_go.Response[authconnection.GetAuthConnectionSettingsResponse], error)
func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionGroups ¶
func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionGroups(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionGroupsRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionGroupsResponse], error)
func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionSecret ¶
func (UnimplementedAuthConnectionServiceHandler) UpdateAuthConnectionSecret(context.Context, *connect_go.Request[authconnection.UpdateAuthConnectionSecretRequest]) (*connect_go.Response[authconnection.UpdateAuthConnectionSecretResponse], error)