Skip to content

SimpleCredentialProvider

Troy Willmot edited this page Oct 16, 2016 · 2 revisions

Summary

The SimpleCredentialProvider is used to provide authorisation credentials to other components when the credentials are already available as standard .Net strings. The provider itself doesn't read or manage the credentials, it just provides references to strings it is given to expose via it's constructor.

Constructors

SimpleCredentialProvider(ICredentials credentials)

Accepts an ICredentials implementation already holding the credentials that should be used. These are the credentials that will be provided by the GetCredentials method.

Methods

Task GetCredentials()

Returns a reference to the credentials that were provided via the constructor.