zitadel

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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 WithHost

func WithHost(host string) Option

WithInsecure allows to connect to a ZITADEL instance running without TLS

func WithInsecure

func WithInsecure(port string) Option

WithInsecure allows to connect to a ZITADEL instance running without TLS

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) 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