Share via


ISsoProvider.GetCredentials Method

Gets the single sign-on (SSO) credentials for the specified application identifier.

Namespace:  Microsoft.SharePoint.Portal.SingleSignon
Assembly:  Microsoft.SharePoint.Portal.SingleSignon (in Microsoft.SharePoint.Portal.SingleSignon.dll)

Syntax

'Declaration
Function GetCredentials ( _
    AppID As String _
) As SsoCredentials
'Usage
Dim instance As ISsoProvider
Dim AppID As String
Dim returnValue As SsoCredentials

returnValue = instance.GetCredentials(AppID)
SsoCredentials GetCredentials(
    string AppID
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.SingleSignon.SsoCredentials

Remarks

Sensitive credentials are not returned. The SSO provider obtains the correct identity for the current user from the current HTTP request.

Examples

For an example, see Walkthrough: Implementing a Pluggable SSO Provider.

See Also

Reference

ISsoProvider Interface

ISsoProvider Members

Microsoft.SharePoint.Portal.SingleSignon Namespace