Documentation
¶
Index ¶
- Variables
- func MakeClaimVerifier(P Spec.Proxys) func(C []Spec.ClaimMatchResult, uf string) []Spec.ClaimResult
- func MakeClaimVerifierR(P Spec.Proxys) func(C []Spec.ClaimMatchResult, uf string) []mo.Result[Spec.ClaimResult]
- func MakeClaimsMatcher() func(C []Spec.Claim) []Spec.ClaimMatchResult
- func MakeClaimsMatcherR() func(C []Spec.Claim) []mo.Result[Spec.ClaimMatchResult]
Constants ¶
This section is empty.
Variables ¶
var ServiceProviders = map[string]Spec.ServiceProvider{ "github": serviceproviders.Github, "forgejo": serviceproviders.Forgejo, "misskey": serviceproviders.Misskey, "dns": serviceproviders.Dns, }
ServiceProviders is a list of usable service providers, see the documentation for details.
Functions ¶
func MakeClaimVerifier ¶
func MakeClaimVerifier(P Spec.Proxys) func(C []Spec.ClaimMatchResult, uf string) []Spec.ClaimResult
MakeClaimVerifier returns a function that takes a list of claim match results and a user id and returns a list of claim results as []spec.ClaimResult,you can't get the verify error.
func MakeClaimVerifierR ¶
func MakeClaimVerifierR(P Spec.Proxys) func(C []Spec.ClaimMatchResult, uf string) []mo.Result[Spec.ClaimResult]
MakeClaimVerifierR returns a function that takes a list of claim match results and a user id and returns a list of claim results as []mo.Result[Spec.ClaimResult].
func MakeClaimsMatcher ¶
func MakeClaimsMatcher() func(C []Spec.Claim) []Spec.ClaimMatchResult
MakeClaimsMatcher returns a function that takes a list of claims and returns a list of claim match results as []spec.ClaimMatchResult,you can't get the match error.
func MakeClaimsMatcherR ¶
MakeClaimsMatcherR returns a function that takes a list of claims and returns a list of claim match results as []mo.Result[Spec.ClaimMatchResult].
Types ¶
This section is empty.