Class UserVisibleDataFactory
java.lang.Object
se.swedenconnect.bankid.idp.authn.UserVisibleDataFactory
A utility class that builds the correct messages to display for the user during signing and authentication.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserVisibleData
constructMessage
(BankIdContext context, RelyingPartyData relyingParty) Constructs a message to be displayed in the BankID app.
-
Constructor Details
-
UserVisibleDataFactory
public UserVisibleDataFactory()
-
-
Method Details
-
constructMessage
public static UserVisibleData constructMessage(BankIdContext context, RelyingPartyData relyingParty) Constructs a message to be displayed in the BankID app. For signing, we also set the non-visible data.- Parameters:
context
- the BankID contextrelyingParty
- the RP- Returns:
- a
UserVisibleData
-