http: enforce the credential types
The user may decide to return any type of credential, including ones we did not say we support. Add a check to make sure the user returned an object of the right type and error out if not.
Showing
Please
register
or
sign in
to comment