Versions in this module Expand all Collapse all v3 v3.12.0 Feb 28, 2024 Changes in this version + const AnchorDrivingLicenceConst + const AnchorNationalIDConst + const AnchorPassCardConst + const AnchorPassportConst + const AttrConstApplicationLogo + const AttrConstApplicationName + const AttrConstApplicationReceiptBGColor + const AttrConstApplicationURL + type ApplicationContent struct + ApplicationProfile ApplicationProfile + ExtraData *extra.Data + type ApplicationProfile struct + func (p ApplicationProfile) ApplicationLogo() *attribute.ImageAttribute + func (p ApplicationProfile) ApplicationName() *attribute.StringAttribute + func (p ApplicationProfile) ApplicationReceiptBgColor() *attribute.StringAttribute + func (p ApplicationProfile) ApplicationURL() *attribute.StringAttribute + func (p ApplicationProfile) GetAttribute(attributeName string) *attribute.GenericAttribute + func (p ApplicationProfile) GetAttributeByID(attributeID string) *attribute.GenericAttribute + func (p ApplicationProfile) GetAttributes(attributeName string) []*attribute.GenericAttribute + func (p ApplicationProfile) GetImageAttribute(attributeName string) *attribute.ImageAttribute + func (p ApplicationProfile) GetJSONAttribute(attributeName string) (*attribute.JSONAttribute, error) + func (p ApplicationProfile) GetStringAttribute(attributeName string) *attribute.StringAttribute + type Content struct + ExtraData []byte + Profile []byte + type Policy struct + func (policy *Policy) MarshalJSON() ([]byte, error) + type PolicyBuilder struct + func (b *PolicyBuilder) Build() (Policy, error) + func (b *PolicyBuilder) WithAdvancedIdentityProfileRequirements(advancedIdentityProfile json.RawMessage) *PolicyBuilder + func (b *PolicyBuilder) WithAgeDerivedAttribute(derivation string, options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithAgeOver(age int, options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithAgeUnder(age int, options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithDateOfBirth(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithDocumentDetails(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithDocumentImages(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithEmail(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithFamilyName(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithFullName(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithGender(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithGivenNames(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithIdentityProfileRequirements(identityProfile json.RawMessage) *PolicyBuilder + func (b *PolicyBuilder) WithNationality(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithPhoneNumber(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithPinAuth() *PolicyBuilder + func (b *PolicyBuilder) WithPostalAddress(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithSelfie(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithSelfieAuth() *PolicyBuilder + func (b *PolicyBuilder) WithStructuredPostalAddress(options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithWantedAttribute(attribute WantedAttribute) *PolicyBuilder + func (b *PolicyBuilder) WithWantedAttributeByName(name string, options ...interface{}) *PolicyBuilder + func (b *PolicyBuilder) WithWantedAuthType(wantedAuthType int) *PolicyBuilder + func (b *PolicyBuilder) WithWantedRememberMe() *PolicyBuilder + type QrCode struct + Id string + Uri string + func CreateShareQrCode(httpClient requests.HttpClient, sessionID string, clientSdkId, apiUrl string, ...) (*QrCode, error) + type ReceiptItemKeyResponse struct + ID string + Iv []byte + Value []byte + type ReceiptResponse struct + Content *Content + Error string + ID string + OtherPartyContent *Content + ParentRememberMeID string + RememberMeID string + SessionID string + Timestamp string + WrappedItemKeyId string + WrappedKey []byte + type ShareSession struct + Created string + Expiry string + Id string + QrCode qrCode + Receipt *receipt + Status string + Updated string + func CreateShareSession(httpClient requests.HttpClient, shareSessionRequest *ShareSessionRequest, ...) (*ShareSession, error) + func GetShareSession(httpClient requests.HttpClient, sessionID string, clientSdkId, apiUrl string, ...) (*ShareSession, error) + type ShareSessionCreated struct + Expiry string + ID string + Satus string + type ShareSessionFetchedQrCode struct + Expiry string + Extensions []interface{} + ID string + Policy string + RedirectURI string + Session ShareSessionCreated + type ShareSessionNotification struct + func (a *ShareSessionNotification) MarshalJSON() ([]byte, error) + type ShareSessionNotificationBuilder struct + func (b *ShareSessionNotificationBuilder) Build() (ShareSessionNotification, error) + func (b *ShareSessionNotificationBuilder) WithHeaders(headers map[string][]string) *ShareSessionNotificationBuilder + func (b *ShareSessionNotificationBuilder) WithMethod(method string) *ShareSessionNotificationBuilder + func (b *ShareSessionNotificationBuilder) WithUrl(url string) *ShareSessionNotificationBuilder + func (b *ShareSessionNotificationBuilder) WithVerifyTls(verifyTls bool) *ShareSessionNotificationBuilder + type ShareSessionQrCode struct + Expiry string + Extensions []interface{} + ID string + Policy string + RedirectURI string + Session struct{ ... } + func GetShareSessionQrCode(httpClient requests.HttpClient, qrCodeId string, clientSdkId, apiUrl string, ...) (fetchedQrCode ShareSessionQrCode, err error) + type ShareSessionRequest struct + func (shareSesssion ShareSessionRequest) MarshalJSON() ([]byte, error) + type ShareSessionRequestBuilder struct + func (builder *ShareSessionRequestBuilder) Build() (ShareSessionRequest, error) + func (builder *ShareSessionRequestBuilder) WithExtension(extension interface{}) *ShareSessionRequestBuilder + func (builder *ShareSessionRequestBuilder) WithNotification(notification *ShareSessionNotification) *ShareSessionRequestBuilder + func (builder *ShareSessionRequestBuilder) WithPolicy(policy Policy) *ShareSessionRequestBuilder + func (builder *ShareSessionRequestBuilder) WithRedirectUri(redirectUri string) *ShareSessionRequestBuilder + func (builder *ShareSessionRequestBuilder) WithSubject(subject json.RawMessage) *ShareSessionRequestBuilder + type SharedReceiptResponse struct + ApplicationContent ApplicationContent + Error string + ID string + ParentRememberMeID string + RememberMeID string + SessionID string + Timestamp string + UserContent UserContent + func GetShareReceipt(httpClient requests.HttpClient, receiptId string, clientSdkId, apiUrl string, ...) (receipt SharedReceiptResponse, err error) + type SourceConstraint struct + func (constraint *SourceConstraint) MarshalJSON() ([]byte, error) + type SourceConstraintBuilder struct + func (b *SourceConstraintBuilder) Build() (SourceConstraint, error) + func (b *SourceConstraintBuilder) WithAnchor(anchor WantedAnchor) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithAnchorByValue(value, subtype string) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithDrivingLicence(subtype string) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithNationalID(subtype string) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithPasscard(subtype string) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithPassport(subtype string) *SourceConstraintBuilder + func (b *SourceConstraintBuilder) WithSoftPreference(soft bool) *SourceConstraintBuilder + type UserContent struct + ExtraData *extra.Data + UserProfile UserProfile + type UserProfile struct + func (p UserProfile) Address() *attribute.StringAttribute + func (p UserProfile) AgeVerifications() (out []attribute.AgeVerification, err error) + func (p UserProfile) DateOfBirth() (*attribute.DateAttribute, error) + func (p UserProfile) DocumentDetails() (*attribute.DocumentDetailsAttribute, error) + func (p UserProfile) DocumentImages() (*attribute.ImageSliceAttribute, error) + func (p UserProfile) EmailAddress() *attribute.StringAttribute + func (p UserProfile) FamilyName() *attribute.StringAttribute + func (p UserProfile) FullName() *attribute.StringAttribute + func (p UserProfile) Gender() *attribute.StringAttribute + func (p UserProfile) GetAttribute(attributeName string) *attribute.GenericAttribute + func (p UserProfile) GetAttributeByID(attributeID string) *attribute.GenericAttribute + func (p UserProfile) GetAttributes(attributeName string) []*attribute.GenericAttribute + func (p UserProfile) GetDocumentImagesAttributeByID(attributeID string) (*attribute.ImageSliceAttribute, error) + func (p UserProfile) GetImageAttribute(attributeName string) *attribute.ImageAttribute + func (p UserProfile) GetJSONAttribute(attributeName string) (*attribute.JSONAttribute, error) + func (p UserProfile) GetSelfieAttributeByID(attributeID string) (*attribute.ImageAttribute, error) + func (p UserProfile) GetStringAttribute(attributeName string) *attribute.StringAttribute + func (p UserProfile) GivenNames() *attribute.StringAttribute + func (p UserProfile) IdentityProfileReport() (*attribute.JSONAttribute, error) + func (p UserProfile) MobileNumber() *attribute.StringAttribute + func (p UserProfile) Nationality() *attribute.StringAttribute + func (p UserProfile) Selfie() *attribute.ImageAttribute + func (p UserProfile) StructuredPostalAddress() (*attribute.JSONAttribute, error) + type WantedAnchor struct + func (a *WantedAnchor) MarshalJSON() ([]byte, error) + type WantedAnchorBuilder struct + func (b *WantedAnchorBuilder) Build() (WantedAnchor, error) + func (b *WantedAnchorBuilder) WithSubType(subType string) *WantedAnchorBuilder + func (b *WantedAnchorBuilder) WithValue(name string) *WantedAnchorBuilder + type WantedAttribute struct + Optional bool + func (attr *WantedAttribute) MarshalJSON() ([]byte, error) + type WantedAttributeBuilder struct + func (builder *WantedAttributeBuilder) Build() (WantedAttribute, error) + func (builder *WantedAttributeBuilder) WithAcceptSelfAsserted(accept bool) *WantedAttributeBuilder + func (builder *WantedAttributeBuilder) WithConstraint(constraint constraintInterface) *WantedAttributeBuilder + func (builder *WantedAttributeBuilder) WithDerivation(derivation string) *WantedAttributeBuilder + func (builder *WantedAttributeBuilder) WithName(name string) *WantedAttributeBuilder