Documentation ¶
Index ¶
- Constants
- func BuildJSONWebKeySet(publicKeyContent []byte) ([]byte, error)
- func CreateKeyPair(env env.Interface) (encPrivateKey []byte, encPublicKey []byte, err error)
- func DeleteOidcFolder(ctx context.Context, directory string, blobsClient azblob.BlobsClient) error
- func DocumentKey(directory string, blobKey string) string
- func GenerateBlobContainerURL(env env.Interface) string
- func GenerateDiscoveryDocument(bucketURL string) string
- func GetBlobName(tenantID string, docID string) string
- type JSONWebKeySet
- type OIDCBuilder
Constants ¶
View Source
const ( DiscoveryDocumentKey = ".well-known/openid-configuration" JWKSKey = "openid/v1/jwks" WebContainer = "$web" )
Variables ¶
This section is empty.
Functions ¶
func BuildJSONWebKeySet ¶
buildJSONWebKeySet builds JSON web key set from the public key
func CreateKeyPair ¶
func DeleteOidcFolder ¶
func DocumentKey ¶
func GetBlobName ¶
Types ¶
type JSONWebKeySet ¶
type JSONWebKeySet struct {
Keys []jose.JSONWebKey `json:"keys"`
}
type OIDCBuilder ¶
type OIDCBuilder struct {
// contains filtered or unexported fields
}
func NewOIDCBuilder ¶
func (*OIDCBuilder) EnsureOIDCDocs ¶
func (b *OIDCBuilder) EnsureOIDCDocs(ctx context.Context, blobsClient azblob.BlobsClient) error
func (*OIDCBuilder) GetBlobContainerURL ¶
func (b *OIDCBuilder) GetBlobContainerURL() string
func (*OIDCBuilder) GetEndpointUrl ¶
func (b *OIDCBuilder) GetEndpointUrl() string
func (*OIDCBuilder) GetPrivateKey ¶
func (b *OIDCBuilder) GetPrivateKey() string
Click to show internal directories.
Click to hide internal directories.