authapi

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyAuthRequest

type ApplyAuthRequest struct {
	ExternalID string
	TenantID   string
	Type       string
	Properties map[string]string
}

type ApplyAuthResponse

type ApplyAuthResponse struct {
	Success bool
}

type AuthInfo

type AuthInfo struct {
	ExternalID   string
	TenantID     string
	Type         string
	Properties   map[string]string
	Status       AuthStatus
	ErrorMessage string
	UpdatedAt    string
	CreatedAt    string
}

type AuthStatus

type AuthStatus string
const (
	AuthStatusUnspecified     AuthStatus = "UNSPECIFIED"
	AuthStatusApplying        AuthStatus = "APPLYING"
	AuthStatusApplyingError   AuthStatus = "APPLYING_ERROR"
	AuthStatusApplied         AuthStatus = "APPLIED"
	AuthStatusRemoving        AuthStatus = "REMOVING"
	AuthStatusRemovingError   AuthStatus = "REMOVING_ERROR"
	AuthStatusRemoved         AuthStatus = "REMOVED"
	AuthStatusBlocking        AuthStatus = "BLOCKING"
	AuthStatusBlockingError   AuthStatus = "BLOCKING_ERROR"
	AuthStatusBlocked         AuthStatus = "BLOCKED"
	AuthStatusUnblocking      AuthStatus = "UNBLOCKING"
	AuthStatusUnblockingError AuthStatus = "UNBLOCKING_ERROR"
)

type GetAuthRequest

type GetAuthRequest struct {
	ExternalID string
}

type GetAuthResponse

type GetAuthResponse struct {
	Auth *AuthInfo
}

type ListAuthsRequest

type ListAuthsRequest struct {
	TenantID      string
	Limit         int32
	NextPageToken string
}

type ListAuthsResponse

type ListAuthsResponse struct {
	Auths         []*AuthInfo
	NextPageToken string
}

type RemoveAuthRequest

type RemoveAuthRequest struct {
	ExternalID string
}

type RemoveAuthResponse

type RemoveAuthResponse struct {
	Success bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL