iam

package module
v0.0.0-...-35e277a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 9 Imported by: 0

README

IAM

Documentation

Overview

Copyright (c) 2026 Business Technologies SDPX-Licencse-Identifier: MIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenIDConfiguration

func OpenIDConfiguration(rw http.ResponseWriter, req *http.Request)

Types

type OpenIDConfig

type OpenIDConfig struct {
	Endpoint  string `json:"endpoint"`
	PublicKey []byte `json:"public_key"`
}

func NewOpenIDConfig

func NewOpenIDConfig() *OpenIDConfig

func (*OpenIDConfig) GenerateKey

func (oidc *OpenIDConfig) GenerateKey() (pub ed25519.PublicKey, priv ed25519.PrivateKey, err error)

func (*OpenIDConfig) LoadPrivateKey

func (oidc *OpenIDConfig) LoadPrivateKey(filename string) error

func (*OpenIDConfig) ToJSON

func (oidc *OpenIDConfig) ToJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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