MCPcopy Create free account
hub / github.com/rilldata/rill / MagicAuthTokenOpen

Method MagicAuthTokenOpen

admin/urls.go:353–355  ·  view source on GitHub ↗

MagicAuthTokenOpen returns the frontend URL for opening a magic auth token.

(org, project, token string)

Source from the content-addressed store, hash-verified

351
352// MagicAuthTokenOpen returns the frontend URL for opening a magic auth token.
353func (u *URLs) MagicAuthTokenOpen(org, project, token string) string {
354 return urlutil.MustJoinURL(u.Frontend(), org, project, "-", "share", token)
355}
356
357// ApproveProjectAccess returns the frontend URL for approving a project access request.
358func (u *URLs) ApproveProjectAccess(org, project, id, role string) string {

Callers 2

IssueMagicAuthTokenMethod · 0.80
magicAuthTokenToPBMethod · 0.80

Calls 2

FrontendMethod · 0.95
MustJoinURLFunction · 0.92

Tested by

no test coverage detected