Annotation Type PowerAuth


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface PowerAuth
    Annotation that enables simple integration with PowerAuth Signatures.
    Author:
    Petr Dvorak, petr@wultra.com
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String resourceId
      Identifier of the resource URI, usually the "effective" part of the URL, for example "/banking/payment/commit".
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes[] signatureType
      Types of supported signatures.
    • Element Detail

      • resourceId

        java.lang.String resourceId
        Identifier of the resource URI, usually the "effective" part of the URL, for example "/banking/payment/commit".
        Returns:
        Resource identifier.
      • signatureType

        io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes[] signatureType
        Types of supported signatures. By default, any at least 2FA signature type must be specified.
        Returns:
        Supported signature types.
        Default:
        {io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes.POSSESSION_BIOMETRY, io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes.POSSESSION_KNOWLEDGE, io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes.POSSESSION_KNOWLEDGE_BIOMETRY}