Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataRequest ¶
type DataRequest struct { Scope []string PD *presexch.PresentationDefinition }
DataRequest is a request for data by the relying party with the user as subject.
type Store ¶
Store is the RP Adapter's store.
func (*Store) GetUserConnection ¶
func (s *Store) GetUserConnection(clientID, userSub string) (*UserConnection, error)
GetUserConnection fetches the connection between the given RP and user.
func (*Store) SaveUserConnection ¶
func (s *Store) SaveUserConnection(uc *UserConnection) error
SaveUserConnection saves the user connection.
type Tenant ¶
type Tenant struct { ClientID string PublicDID string Label string Scopes []string RequiresBlindedRoute bool SupportsWACI bool IsDIDCommV1 bool LinkedWalletURL string }
Tenant describes the Relying Party.
type UserConnection ¶
type UserConnection struct { User *User RP *Tenant Request *DataRequest }
UserConnection describes a connection a relying party has with a user.
Click to show internal directories.
Click to hide internal directories.