Otter SDK Reference
Version:

TryGetCredentials<TCredential>(IHasCredentials<TCredential> obj) Method

Gets the credentials assigned to an IHasCredentials<TCredentials> operation.

Syntax

public static TCredential TryGetCredentials<TCredential>(IHasCredentials<TCredential> obj)

Parameters

obj
Type: IHasCredentials<TCredential>

The object that has the credentials.