finish

open fun finish()

Finishes the credential in case isComplete is true, otherwise an IllegalArgumentException will be thrown

Throws

the credential can not be used anymore

the workflow is not completed and the credential can't be finished