complete

fun complete(principal: P)

completes the authentication process by setting the principal. When no authentication process is running it only sets the principal.

Parameters

principal

principal to set