zitadel

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 2 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Zitadel)

Option allows customization of the Zitadel provider.

func WithInsecure

func WithInsecure(port string) Option

WithInsecure allows to connect to a ZITADEL instance running without TLS Do not use in production

func WithInsecureSkipVerifyTLS added in v3.3.0

func WithInsecureSkipVerifyTLS() Option

WithInsecureSkipVerifyTLS allows to connect to a ZITADEL instance running with TLS but has an untrusted certificate Do not use in production

func WithPort added in v3.3.0

func WithPort(port uint16) Option

WithPort allows to connect to a ZITADEL instance running on a different port

type Zitadel

type Zitadel struct {
	// contains filtered or unexported fields
}

Zitadel provides the ability to interact with your ZITADEL instance. This includes authentication, authorization as well as explicit API interaction and is dependent of the provided information and initialization of such.

func New

func New(domain string, options ...Option) *Zitadel

func (*Zitadel) Domain

func (z *Zitadel) Domain() string

func (*Zitadel) Host

func (z *Zitadel) Host() string

Host returns the domain:port (even if the default port is used)

func (*Zitadel) IsInsecureSkipVerifyTLS added in v3.3.0

func (z *Zitadel) IsInsecureSkipVerifyTLS() bool

func (*Zitadel) IsTLS

func (z *Zitadel) IsTLS() bool

func (*Zitadel) Origin

func (z *Zitadel) Origin() string

Origin returns the HTTP Origin (schema://hostname[:port]), e.g. https://your-instance.zitadel.cloud https://your-domain.com http://localhost:8080

Jump to

Keyboard shortcuts

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