oidc

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer

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

MockServer represents OIDC mock server.

func NewMockServer

func NewMockServer() (*MockServer, error)

NewMockServer creates new OIDC mock server.

func (MockServer) Address

func (m MockServer) Address() string

Address returns OIDC mock server address.

func (MockServer) ClientID

func (m MockServer) ClientID() string

ClientID returns OIDC mock server ClientID.

func (MockServer) ClientSecret

func (m MockServer) ClientSecret() string

ClientSecret returns OIDC mock server ClientSecret.

func (MockServer) Login

func (m MockServer) Login(ctx context.Context, user *mockoidc.MockUser, scopes []string) (string, error)

Login mimics User login action.

Jump to

Keyboard shortcuts

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