Метод | Описание | |
---|---|---|
GetCredentials ( Google.Apis.Auth.OAuth2.GoogleCredential credentials ) : Google.Apis.Auth.OAuth2.GoogleCredential |
Returns credentials with the scopes applied if required.
|
|
GetCredentialsAsync ( Google.Apis.Auth.OAuth2.GoogleCredential credentials ) : Task |
Asynchronously returns credentials with the scopes applied if required.
|
|
ScopedCredentialProvider ( IEnumerable |
Creates a channel pool which will apply the specified scopes to the credentials if they require any.
|
Метод | Описание | |
---|---|---|
ApplyScopes ( Google.Apis.Auth.OAuth2.GoogleCredential original ) : Google.Apis.Auth.OAuth2.GoogleCredential | ||
CreateDefaultCredentialsUncached ( ) : Task |
public GetCredentials ( Google.Apis.Auth.OAuth2.GoogleCredential credentials ) : Google.Apis.Auth.OAuth2.GoogleCredential | ||
credentials | Google.Apis.Auth.OAuth2.GoogleCredential | Existing credentials, if any. This may be null, /// in which case the default application credentials will be used. |
Результат | Google.Apis.Auth.OAuth2.GoogleCredential |
public GetCredentialsAsync ( Google.Apis.Auth.OAuth2.GoogleCredential credentials ) : Task |
||
credentials | Google.Apis.Auth.OAuth2.GoogleCredential | Existing credentials, if any. This may be null, /// in which case the default application credentials will be used. |
Результат | Task |
public ScopedCredentialProvider ( IEnumerable |
||
scopes | IEnumerable |
The scopes to apply. Must not be null, and must not contain null references. May be empty. |
Результат | Google.Apis.Auth.OAuth2 |