getVerifiedValueFor
fun <T> getVerifiedValueFor(standardClaim: StandardClaimName<T>, claimValue: ClaimValue): T
Content copied to clipboard
Gets verified claim from claim data.
Verifies that the module can fulfill the request. The module implementation has to provide the mapping by implementing getNormalizedValue
.
Return
The mapped value
Parameters
standardClaim
The standard claim which should be filled
claimValue
The claim the standard claim should be filled from
Throws
ComunyModuleException
when the module cannot fulfill the request.
fun <T> getVerifiedValueFor(specificClaimName: SpecificClaimName<T>, claimValue: ClaimValue): T
Content copied to clipboard
Gets verified claim from claim data.
Verifies that the module can fulfill the request. The module implementation has to provide the mapping by implementing getNormalizedValue
.
Return
The mapped value
Parameters
specificClaim
The standard claim which should be filled
claimValue
The claim the standard claim should be filled from
Throws
ComunyModuleException
when the module cannot fulfill the request.