mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
zipdoc keys each entry by package and address now, so the generated files are rewritten in that shape; the JWKS and token endpoints name their handler at each address so the lift finds it. Co-authored-by: Hanzo Dev <[email protected]>
41 lines
2.5 KiB
Go
41 lines
2.5 KiB
Go
// Code generated by zipdoc; DO NOT EDIT.
|
|
|
|
package providers
|
|
|
|
import (
|
|
"github.com/zap-proto/zip"
|
|
)
|
|
|
|
func init() {
|
|
zip.Describe("github.com/hanzoai/iam/internal/providers DELETE /v1/iam/providers/:owner/:name", zip.Doc{
|
|
Description: "Removes a provider. Sign-in through it stops for every\napplication that used it, so give those applications another method first.\n\nA provider that is already gone answers \"nothing changed\" rather than an\nerror, so the call is safe to repeat.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Provider].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/providers GET /v1/iam/providers", zip.Doc{
|
|
Description: "Returns your organization's providers, newest first — the\nidentity providers your people sign in with, and the senders and connectors\nyour applications go through.\n\nYou see your own organization's providers and no one else's; which organization\nthat is comes from your credentials, not from the request.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Provider].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/providers GET /v1/iam/providers/:owner/:name", zip.Doc{
|
|
Description: "Returns one provider: what it connects to and how it is\nconfigured. Its credentials come back masked.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Provider].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/providers POST /v1/iam/providers", zip.Doc{
|
|
Description: "Adds an identity provider your people can sign in with, or a\nservice your applications send through — a social or enterprise login, an email\nor SMS sender, a storage or payment connector.\n\nA provider is configured once and then switched on per application, so several\napplications can share one set of credentials.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Provider].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/providers PUT /v1/iam/providers/:owner/:name", zip.Doc{
|
|
Description: "Changes a provider's settings or rotates the credentials it\nholds. The change takes effect on the next sign-in through it — sessions\nalready issued are unaffected.\n\nA provider that is not there answers \"nothing changed\" rather than an error, so\nthe call is safe to repeat.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Provider].id": "Persisted fields",
|
|
},
|
|
})
|
|
}
|