Interface TKTokenDriverDelegate

  • All Known Subinterfaces:
    TKSmartCardTokenDriverDelegate

    public interface TKTokenDriverDelegate
    Delegate for customizing token driver operations. SmartCard tokens should implement TKSmartCardTokenDriverDelegate instead of this base protocol. API-Since: 10.0
    • Method Detail

      • tokenDriverTerminateToken

        default void tokenDriverTerminateToken​(@NotNull
                                               @NotNull TKTokenDriver driver,
                                               @NotNull
                                               @NotNull TKToken token)
        Terminates previously created token, should release all resources associated with it.
      • tokenDriverTokenForConfigurationError

        @Nullable
        default @Nullable TKToken tokenDriverTokenForConfigurationError​(@NotNull
                                                                        @NotNull TKTokenDriver driver,
                                                                        @NotNull
                                                                        @NotNull TKTokenConfiguration configuration,
                                                                        @Nullable
                                                                        @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Creates new token for specified configuration. SmartCard token drivers should not implement this method. API-Since: 14.0