createOauth2CredentialProvider

Creates a new OAuth2 credential provider.