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

Method AuthCustomDomainCallback

admin/urls.go:190–196  ·  view source on GitHub ↗

AuthCustomDomainCallback returns the URL with state for custom domain callback

(state string)

Source from the content-addressed store, hash-verified

188
189// AuthCustomDomainCallback returns the URL with state for custom domain callback
190func (u *URLs) AuthCustomDomainCallback(state string) string {
191 res := urlutil.MustJoinURL(u.External(), "/auth/custom-domain-callback") // NOTE: Uses custom domain
192 if state != "" {
193 res = urlutil.MustWithQuery(res, map[string]string{"state": state})
194 }
195 return res
196}
197
198// AuthLogout returns the URL that starts the logout redirects.
199func (u *URLs) AuthLogout() string {

Callers 1

authStartMethod · 0.80

Calls 3

ExternalMethod · 0.95
MustJoinURLFunction · 0.92
MustWithQueryFunction · 0.92

Tested by

no test coverage detected