invalidate()
Invalidates the authentication context.
Declaration
func invalidate()Discussion
Calling this method stops any pending policy evaluations, causing them to fail with the LAError.Code.appCancel error code. Once an authentication context has been invalidated, it cannot be used for policy evaluation. Invalidating a context that has been already invalidated has no effect.