Changes in google.apis.auth from v20.1 (Version 4.0.30319.42000)<br> to v21 (Version 4.0.30319.42000)

Changes in google.apis.auth from v20.1 (Version 4.0.30319.42000)
to v21 (Version 4.0.30319.42000)

Removed Added
public class Google.Apis.Auth.GoogleJsonWebSignature ()
--> NONE <--
  • Method: public static Task`1 ValidateAsync (string jwt, ValidationSettings validationSettings)
  • Method: public static Task`1 ValidateAsync (string jwt, IClock clock, bool forceGoogleCertRefresh)
  • Nested Type: public sealed class ValidationSettings
Google.Apis.Auth InvalidJwtException ()
n/a public class Google.Apis.Auth.InvalidJwtException
--> NONE <--
  • Constructor: public InvalidJwtException (string message)
  • Event: protected event EventHandler`1 SerializeObjectState
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual Exception GetBaseException ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public virtual void GetObjectData (SerializationInfo info, StreamingContext context)
  • Method (i): public virtual Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method (i): public virtual string ToString ()
  • Property: virtual IDictionary Data { public get; }
  • Property: virtual string HelpLink { public get; public set; }
  • Property: int HResult { public get; }
  • Property: virtual Exception InnerException { public get; }
  • Property: virtual string Message { public get; }
  • Property: virtual string Source { public get; public set; }
  • Property: virtual string StackTrace { public get; }
  • Property: virtual MethodBase TargetSite { public get; }
public class Google.Apis.Auth.OAuth2.AuthorizationCodeInstalledApp ()
--> NONE <--
  • Method: public bool ShouldRequestAuthorizationCode (TokenResponse token)
Google.Apis.Auth.OAuth2 ComputeCredential ()
n/a public class Google.Apis.Auth.OAuth2.ComputeCredential
--> NONE <--
  • Constructor: public ComputeCredential ()
  • Constructor: public ComputeCredential (Initializer initializer)
  • Field: public static const string MetadataServerUrl, Value = http://169.254.169.254
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual Task`1 GetAccessTokenForRequestAsync (string authUri, CancellationToken cancellationToken)
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): public virtual Task`1 HandleResponseAsync (HandleUnsuccessfulResponseArgs args)
  • Method (i): public virtual void Initialize (ConfigurableHttpClient httpClient)
  • Method (i): public virtual Task InterceptAsync (HttpRequestMessage request, CancellationToken cancellationToken)
  • Method: public static Task`1 IsRunningOnComputeEngine ()
  • Method (i): protected object MemberwiseClone ()
  • Method: public override Task`1 RequestAccessTokenAsync (CancellationToken taskCancellationToken)
  • Method (i): public virtual string ToString ()
  • Nested Type: public class Initializer
  • Property: IAccessMethod AccessMethod { public get; }
  • Property: IClock Clock { public get; }
  • Property: ConfigurableHttpClient HttpClient { public get; }
  • Property: TokenResponse Token { public get; public set; }
  • Property: string TokenServerUrl { public get; }
public abstract sealed class Google.Apis.Auth.OAuth2.GoogleAuthConsts ()
--> NONE <--
  • Field: public static const string ComputeTokenUrl
  • Field: public static const string JsonWebKeySetUrl, Value = https://www.googleapis.com/oauth2/v3/certs
  • Field: public static const string OidcAuthorizationUrl, Value = https://accounts.google.com/o/oauth2/v2/auth
  • Field: public static const string OidcTokenUrl, Value = https://www.googleapis.com/oauth2/v4/token
Google.Apis.Auth.OAuth2 GoogleCredential ()
n/a public class Google.Apis.Auth.OAuth2.GoogleCredential
--> NONE <--
  • Field: protected readonly ICredential credential
  • Method: public virtual GoogleCredential CreateScoped (IEnumerable`1 scopes)
  • Method: public GoogleCredential CreateScoped (string[] scopes)
  • Method: public virtual GoogleCredential CreateWithUser (string user)
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method: public static GoogleCredential FromAccessToken (string accessToken, IAccessMethod accessMethod)
  • Method: public static GoogleCredential FromComputeCredential (ComputeCredential computeCredential)
  • Method: public static GoogleCredential FromFile (string path)
  • Method: public static GoogleCredential FromJson (string json)
  • Method: public static GoogleCredential FromStream (Stream stream)
  • Method: public static GoogleCredential GetApplicationDefault ()
  • Method: public static Task`1 GetApplicationDefaultAsync ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method (i): public virtual string ToString ()
  • Property: virtual bool IsCreateScopedRequired { public get; }
  • Property: ICredential UnderlyingCredential { public get; }
Google.Apis.Auth.OAuth2 GoogleWebAuthorizationBroker ()
n/a public class Google.Apis.Auth.OAuth2.GoogleWebAuthorizationBroker
--> NONE <--
  • Constructor: public GoogleWebAuthorizationBroker ()
  • Field: public static string Folder
  • Method: public static Task`1 AuthorizeAsync (ClientSecrets clientSecrets, IEnumerable`1 scopes, string user, CancellationToken taskCancellationToken, IDataStore dataStore, ICodeReceiver codeReceiver)
  • Method: public static Task`1 AuthorizeAsync (Initializer initializer, IEnumerable`1 scopes, string user, CancellationToken taskCancellationToken, IDataStore dataStore, ICodeReceiver codeReceiver)
  • Method: public static Task`1 AuthorizeAsync (Stream clientSecretsStream, IEnumerable`1 scopes, string user, CancellationToken taskCancellationToken, IDataStore dataStore, ICodeReceiver codeReceiver)
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method: public static Task ReauthorizeAsync (UserCredential userCredential, CancellationToken taskCancellationToken, ICodeReceiver codeReceiver)
  • Method (i): public virtual string ToString ()
Google.Apis.Auth.OAuth2 ITokenAccess ()
n/a public interface Google.Apis.Auth.OAuth2.ITokenAccess
--> NONE <--
  • Method: Task`1 GetAccessTokenForRequestAsync (string authUri, CancellationToken cancellationToken)
Google.Apis.Auth.OAuth2 JsonCredentialParameters ()
n/a public class Google.Apis.Auth.OAuth2.JsonCredentialParameters
--> NONE <--
  • Constructor: public JsonCredentialParameters ()
  • Field: public static const string AuthorizedUserCredentialType, Value = authorized_user
  • Field: public static const string ServiceAccountCredentialType, Value = service_account
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method (i): public virtual string ToString ()
  • Property: string ClientEmail { public get; public set; }
  • Property: string ClientId { public get; public set; }
  • Property: string ClientSecret { public get; public set; }
  • Property: string PrivateKey { public get; public set; }
  • Property: string RefreshToken { public get; public set; }
  • Property: string Type { public get; public set; }
Google.Apis.Auth.OAuth2 LocalServerCodeReceiver ()
n/a public class Google.Apis.Auth.OAuth2.LocalServerCodeReceiver
--> NONE <--
  • Constructor: public LocalServerCodeReceiver ()
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method: public virtual Task`1 ReceiveCodeAsync (AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken)
  • Method (i): public virtual string ToString ()
  • Property: virtual string RedirectUri { public get; }
Google.Apis.Auth.OAuth2 PromptCodeReceiver ()
n/a public class Google.Apis.Auth.OAuth2.PromptCodeReceiver
--> NONE <--
  • Constructor: public PromptCodeReceiver ()
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method: public virtual Task`1 ReceiveCodeAsync (AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken)
  • Method (i): public virtual string ToString ()
  • Property: virtual string RedirectUri { public get; }
Google.Apis.Auth.OAuth2 ServiceAccountCredential ()
n/a public class Google.Apis.Auth.OAuth2.ServiceAccountCredential
--> NONE <--
  • Constructor: public ServiceAccountCredential (Initializer initializer)
  • Field: protected static readonly DateTime UnixEpoch
  • Method: public string CreateSignature (byte[] data)
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method: public static ServiceAccountCredential FromServiceAccountData (Stream credentialData)
  • Method: public override Task`1 GetAccessTokenForRequestAsync (string authUri, CancellationToken cancellationToken)
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): public virtual Task`1 HandleResponseAsync (HandleUnsuccessfulResponseArgs args)
  • Method (i): public virtual void Initialize (ConfigurableHttpClient httpClient)
  • Method (i): public virtual Task InterceptAsync (HttpRequestMessage request, CancellationToken cancellationToken)
  • Method (i): protected object MemberwiseClone ()
  • Method: public override Task`1 RequestAccessTokenAsync (CancellationToken taskCancellationToken)
  • Method (i): public virtual string ToString ()
  • Nested Type: public class Initializer
  • Property: IAccessMethod AccessMethod { public get; }
  • Property: IClock Clock { public get; }
  • Property: ConfigurableHttpClient HttpClient { public get; }
  • Property: string Id { public get; }
  • Property: RSACryptoServiceProvider Key { public get; }
  • Property: IEnumerable`1 Scopes { public get; }
  • Property: TokenResponse Token { public get; public set; }
  • Property: string TokenServerUrl { public get; }
  • Property: string User { public get; }
Google.Apis.Auth.OAuth2 ServiceCredential ()
n/a public abstract class Google.Apis.Auth.OAuth2.ServiceCredential
--> NONE <--
  • Constructor: public ServiceCredential (Initializer initializer)
  • Field: protected static readonly ILogger Logger
  • Method (i): public virtual bool Equals (object obj)
  • Method (i): protected virtual void Finalize ()
  • Method: public virtual Task`1 GetAccessTokenForRequestAsync (string authUri, CancellationToken cancellationToken)
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method: public virtual Task`1 HandleResponseAsync (HandleUnsuccessfulResponseArgs args)
  • Method: public virtual void Initialize (ConfigurableHttpClient httpClient)
  • Method: public virtual Task InterceptAsync (HttpRequestMessage request, CancellationToken cancellationToken)
  • Method (i): protected object MemberwiseClone ()
  • Method: public abstract Task`1 RequestAccessTokenAsync (CancellationToken taskCancellationToken)
  • Method (i): public virtual string ToString ()
  • Nested Type: public class Initializer
  • Property: IAccessMethod AccessMethod { public get; }
  • Property: IClock Clock { public get; }
  • Property: ConfigurableHttpClient HttpClient { public get; }
  • Property: TokenResponse Token { public get; public set; }
  • Property: string TokenServerUrl { public get; }
Google.Apis.Auth.OAuth2 UserCredential ()
public class Google.Apis.Auth.OAuth2.UserCredential
(Please hover your mouse over the type to see the inheritance signatures)
public class Google.Apis.Auth.OAuth2.UserCredential
(Please hover your mouse over the type to see the inheritance signatures)
  • Property: string UderId { public get; }
  • Method: public virtual Task`1 GetAccessTokenForRequestAsync (string authUri, CancellationToken cancellationToken)
  • Property: string UserId { public get; }
public class Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow ()
--> NONE <--
  • Method: public Task`1 FetchTokenAsync (string userId, TokenRequest request, CancellationToken taskCancellationToken)
  • Method: public virtual bool ShouldForceTokenRetrieval ()
public class Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow ()
--> NONE <--
  • Field: public readonly Nullable`1 includeGrantedScopes
  • Method (i): public Task`1 FetchTokenAsync (string userId, TokenRequest request, CancellationToken taskCancellationToken)
  • Method: public override bool ShouldForceTokenRetrieval ()
  • Property: Nullable`1 IncludeGrantedScopes { public get; }
  • Property: string LoginHint { public get; }
  • Property: IEnumerable`1 UserDefinedQueryParams { public get; }
public interface Google.Apis.Auth.OAuth2.Flows.IAuthorizationCodeFlow ()
--> NONE <--
  • Method: bool ShouldForceTokenRetrieval ()
public class Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl ()
  • Property: string ApprovalPrompt { public get; public set; }
  • [Obsolete: Unused for Google OpenID]Property: string ApprovalPrompt { public get; public set; }
  • Property: string IncludeGrantedScopes { public get; public set; }
  • Property: string Prompt { public get; public set; }
  • Property: IEnumerable`1 UserDefinedQueryParams { public get; public set; }
Google.Apis.Auth.OAuth2.Requests TokenRequestExtenstions ()
n/a public abstract sealed class Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions
--> NONE <--
  • Method (i): public virtual bool Equals (object obj)
  • Method: public static Task`1 ExecuteAsync (TokenRequest request, HttpClient httpClient, string tokenServerUrl, CancellationToken taskCancellationToken, IClock clock)
  • Method (i): protected virtual void Finalize ()
  • Method (i): public virtual int GetHashCode ()
  • Method (i): public Type GetType ()
  • Method (i): protected object MemberwiseClone ()
  • Method (i): public virtual string ToString ()
public class Google.Apis.Auth.OAuth2.Responses.TokenResponse ()
  • Property: DateTime Issued { public get; public set; }
  • Method: public static Task`1 FromHttpResponseAsync (HttpResponseMessage response, IClock clock, ILogger logger)
  • Property: string IdToken { public get; public set; }
  • [Obsolete: Use IssuedUtc instead]Property: DateTime Issued { public get; public set; }
  • Property: DateTime IssuedUtc { public get; public set; }
public class Google.Apis.Auth.OAuth2.Responses.TokenResponseException ()
--> NONE <--
  • Constructor: public TokenResponseException (TokenErrorResponse error, Nullable`1 statusCode)
  • Property: Nullable`1 StatusCode { public get; }
public class Google.Apis.Auth.OAuth2.Web.AuthorizationCodeWebApp ()
--> NONE <--
  • Method: public bool ShouldRequestAuthorizationCode (TokenResponse token)

TopSummary