MCPcopy Index your code
hub / github.com/authorizerdev/authorizer / GetOrganization

Function GetOrganization

internal/utils/common.go:65–74  ·  view source on GitHub ↗

GetOrganization to get organization object

(cfg *config.Config)

Source from the content-addressed store, hash-verified

63
64// GetOrganization to get organization object
65func GetOrganization(cfg *config.Config) map[string]interface{} {
66 orgLogo := cfg.OrganizationLogo
67 orgName := cfg.OrganizationName
68 organization := map[string]interface{}{
69 "name": orgName,
70 "logo": orgLogo,
71 }
72
73 return organization
74}
75
76// GetForgotPasswordURL to get url for given token and hostname
77func GetForgotPasswordURL(token, redirectURI string) string {

Callers 9

InviteMembersMethod · 0.92
ResendVerifyEmailMethod · 0.92
UpdateUserMethod · 0.92
MagicLinkLoginMethod · 0.92
ResendOTPMethod · 0.92
LoginMethod · 0.92
SignUpMethod · 0.92
UpdateProfileMethod · 0.92
ForgotPasswordMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected