oauthresource

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package oauthresource contains dependency-light OAuth resource URL helpers shared by the API and runtime services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtectedResourceMetadataPath

func ProtectedResourceMetadataPath(resourcePath string) string

ProtectedResourceMetadataPath returns the metadata document path for a resource path, trimming a trailing slash the same way the URL form does so ingress routes and advertised URLs always agree.

func ProtectedResourceMetadataURL

func ProtectedResourceMetadataURL(resource string) string

ProtectedResourceMetadataURL returns the RFC 9728 metadata document URL for a resource URL by inserting the well-known path between its origin and path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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