setDefault

Sets the default credential.

Parameters

credential

The credential to set as default, or null to clear.