Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const AssuranceLevelClaim + const EmailTokenClaim + const FamilyNameTokenClaim + const InitialsTokenClaim + const Invalid + const IrmaFormat + const OAuthEndpointType + const PrefixTokenClaim + const UserRoleClaim + const UsernameClaim + const Valid + var ErrSessionNotFound = errors.New("session not found") + type ContractFormat string + type ContractNotary interface + Configure func() error + CreateSigningSession func(sessionRequest CreateSessionRequest) (contract.SessionPointer, error) + DrawUpContract func(ctx context.Context, template contract.Template, orgID did.DID, ...) (*contract.Contract, error) + SigningSessionStatus func(ctx context.Context, sessionID string) (contract.SigningSessionResult, error) + type ContractValidationResult struct + ContractAttributes map[string]string + ContractFormat ContractFormat + DisclosedAttributes map[string]string + FailureReason string + ValidationResult ValidationState + type CreateAccessTokenRequest struct + RawJwtBearerToken string + type CreateJwtGrantRequest struct + Authorizer string + Credentials []vc.VerifiableCredential + IdentityVP *vc.VerifiablePresentation + Requester string + Service string + type CreateSessionRequest struct + Message string + Params map[string]interface{} + SigningMeans string + type CreateSessionResult struct + QrCodeInfo irma.Qr + SessionID string + type InvalidContractRequestError struct + Message interface{} + func (e InvalidContractRequestError) Error() string + func (e InvalidContractRequestError) Is(target error) bool + type JwtBearerTokenResult struct + AuthorizationServerEndpoint string + BearerToken string + type MockContractNotary struct + func NewMockContractNotary(ctrl *gomock.Controller) *MockContractNotary + func (m *MockContractNotary) Configure() error + func (m *MockContractNotary) CreateSigningSession(sessionRequest CreateSessionRequest) (contract.SessionPointer, error) + func (m *MockContractNotary) DrawUpContract(ctx context.Context, template contract.Template, orgID did.DID, ...) (*contract.Contract, error) + func (m *MockContractNotary) EXPECT() *MockContractNotaryMockRecorder + func (m *MockContractNotary) Routes(router core.EchoRouter) + func (m *MockContractNotary) SigningSessionStatus(ctx context.Context, sessionID string) (contract.SigningSessionResult, error) + func (m *MockContractNotary) VerifyVP(vp vc.VerifiablePresentation, checkTime *time.Time) (contract.VPVerificationResult, error) + type MockContractNotaryMockRecorder struct + func (mr *MockContractNotaryMockRecorder) Configure() *gomock.Call + func (mr *MockContractNotaryMockRecorder) CreateSigningSession(sessionRequest any) *gomock.Call + func (mr *MockContractNotaryMockRecorder) DrawUpContract(ctx, template, orgID, validFrom, validDuration, organizationCredential any) *gomock.Call + func (mr *MockContractNotaryMockRecorder) Routes(router any) *gomock.Call + func (mr *MockContractNotaryMockRecorder) SigningSessionStatus(ctx, sessionID any) *gomock.Call + func (mr *MockContractNotaryMockRecorder) VerifyVP(vp, checkTime any) *gomock.Call + type MockSignedToken struct + func NewMockSignedToken(ctrl *gomock.Controller) *MockSignedToken + func (m *MockSignedToken) Contract() contract.Contract + func (m *MockSignedToken) EXPECT() *MockSignedTokenMockRecorder + func (m *MockSignedToken) SignerAttributes() (map[string]string, error) + type MockSignedTokenMockRecorder struct + func (mr *MockSignedTokenMockRecorder) Contract() *gomock.Call + func (mr *MockSignedTokenMockRecorder) SignerAttributes() *gomock.Call + type MockVPProofValueParser struct + func NewMockVPProofValueParser(ctrl *gomock.Controller) *MockVPProofValueParser + func (m *MockVPProofValueParser) EXPECT() *MockVPProofValueParserMockRecorder + func (m *MockVPProofValueParser) Parse(rawAuthToken string) (SignedToken, error) + func (m *MockVPProofValueParser) Verify(token SignedToken) error + type MockVPProofValueParserMockRecorder struct + func (mr *MockVPProofValueParserMockRecorder) Parse(rawAuthToken any) *gomock.Call + func (mr *MockVPProofValueParserMockRecorder) Verify(token any) *gomock.Call + type NutsAccessToken struct + AssuranceLevel *string + Audience string + Credentials []string + Email *string + Expiration int64 + FamilyName *string + Initials *string + IssuedAt int64 + Issuer string + KeyID string + Prefix *string + Service string + Subject string + UserRole *string + Username *string + func (t *NutsAccessToken) FromMap(m map[string]interface{}) error + type NutsIdentityToken struct + KeyID string + Signature string + Type ContractFormat + func (t *NutsIdentityToken) FromMap(m map[string]interface{}) error + type SessionID string + type SignedToken interface + Contract func() contract.Contract + SignerAttributes func() (map[string]string, error) + type TestVPVerificationResult struct + CAttributes map[string]string + DAttributes map[string]string + FailureReason string + Type string + Val contract.State + func (t TestVPVerificationResult) ContractAttribute(key string) string + func (t TestVPVerificationResult) ContractAttributes() map[string]string + func (t TestVPVerificationResult) DisclosedAttribute(key string) string + func (t TestVPVerificationResult) DisclosedAttributes() map[string]string + func (t TestVPVerificationResult) Reason() string + func (t TestVPVerificationResult) VPType() string + func (t TestVPVerificationResult) Validity() contract.State + type VPProofValueParser interface + Parse func(rawAuthToken string) (SignedToken, error) + Verify func(token SignedToken) error + type ValidationState string Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v5