Class Message
Object
se.curity.identityserver.sdk.haapi.Message
- Direct Known Subclasses:
Message.Key,Message.Literal
Representation of a message that should be presented to the user of the client application.
- Since:
- 5.4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Method Summary
-
Method Details
-
ofKey
Creates aMessagegiven a localization key.- Parameters:
key- the localization key for the message.- Returns:
- the resulting message.
-
ofKey
Creates aMessagegiven a localization key for a template and set of literal values.- Parameters:
key- the localization key for the template.values- the values to be used on the template's placeholders.- Returns:
- the resulting message.
-
ofLiteral
Creates aMessagegiven a literalString.- Parameters:
value- the literal value for the message.- Returns:
- the resulting message.
-