Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithInsecure ¶
WithInsecure disables transport security for the client connection use only when absolutely necessary (e.g. local development)
Types ¶
type Client ¶
type Client struct { Connection *zitadel.Connection system.SystemServiceClient }
type JWTAuthenticationSource ¶
type JWTAuthenticationSource func() middleware.JWTProfileTokenSource
func JWTProfileFromKey ¶
func JWTProfileFromKey(key []byte, userID string) JWTAuthenticationSource
JWTProfileFromKey creates a JWTAuthenticationSource (oauth2.TokensSource) from the provided key (and userID) to authenticate against the SystemAPI
func JWTProfileFromPath ¶
func JWTProfileFromPath(keyPath, userID string) JWTAuthenticationSource
JWTProfileFromPath reads the key at the provided path and creates a JWTAuthenticationSource (oauth2.TokensSource) to authenticate against the SystemAPI
Click to show internal directories.
Click to hide internal directories.