Documentation ¶
Index ¶
- Constants
- func CreateInsecureConnection(ctx context.Context, url string) (*ggrpc.ClientConn, error)
- func NewAPITokenServer(issuer string, signer jwt.JWTSigner, ...) api.APITokenServer
- func NewAuthServer(url string, client *auth.Client, server *auth.Server, ...) *authServer
- func NewClusterAuthAPIServer(issuer string, signer jwt.JWTSigner, ...) api.ClusterAuthServer
- func NewGatewayAPIServer(authConfig *auth.ClientConfig, client *auth.Client, server *auth.Server, ...) api.GatewayServer
- type OpenIdConfiguration
Constants ¶
View Source
const (
HeaderAuthorization = "Authorization"
)
Variables ¶
This section is empty.
Functions ¶
func NewAPITokenServer ¶ added in v0.3.0
func NewAPITokenServer( issuer string, signer jwt.JWTSigner, userRepo repositories.ReadOnlyUserRepository, ) api.APITokenServer
func NewAuthServer ¶
func NewAuthServer(url string, client *auth.Client, server *auth.Server, userRepo repositories.ReadOnlyUserRepository) *authServer
NewAuthServer creates a new instance of gateway.authServer.
func NewClusterAuthAPIServer ¶
func NewClusterAuthAPIServer( issuer string, signer jwt.JWTSigner, userRepo repositories.ReadOnlyUserRepository, clusterRepo repositories.ReadOnlyClusterRepository, validity time.Duration, ) api.ClusterAuthServer
func NewGatewayAPIServer ¶
func NewGatewayAPIServer(authConfig *auth.ClientConfig, client *auth.Client, server *auth.Server, userRepo repositories.ReadOnlyUserRepository) api.GatewayServer
Types ¶
type OpenIdConfiguration ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.