Documentation ¶
Index ¶
- Constants
- func EmbeddedPublicKeyFetcher(issuerID, keyID string) (*verifier.PublicKey, error)
- func EmbeddedPublicKeyFetcherAllowList(allowList []string) func(issuerID, keyID string) (*verifier.PublicKey, error)
- func ExtractSubjectFromVC(credential *verifiable.Credential) (string, error)
- func MakeAuthenticateURL(serverBaseRoot, flowCtxStr string) string
- func MakeProofURL(serverBaseRoot, flowCtxStr string) string
- func MakeRedirectSuccessURI(redirectURI, state string, credentials []byte) string
- type Client
Constants ¶
View Source
const ( PathChallenge = "/challenge" PathAuthenticate = "/authenticate" PathProof = "/proof" ParamBertyID = "berty_id" ParamState = "state" ParamRedirectURI = "redirect_uri" ParamChallenge = "challenge" ParamChallengeSig = "challenge_sig" ParamCode = "code" ParamContext = "context" ParamCredentials = "credentials" ParamIdentifier = "identifier" )
View Source
const DefaultRedirectURI = "berty://vc"
Variables ¶
This section is empty.
Functions ¶
func ExtractSubjectFromVC ¶
func ExtractSubjectFromVC(credential *verifiable.Credential) (string, error)
func MakeAuthenticateURL ¶
func MakeProofURL ¶
func MakeRedirectSuccessURI ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.