Skip to content

Commit b3868b3

Browse files
feat: Make CredentialFactory.FromJsonParameters<T> public
1 parent a6111aa commit b3868b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Support/Google.Apis.Auth/OAuth2/CredentialFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public static GoogleCredential FromJson(string json, string credentialType)
219219
/// if the credential data is incompatible with the requested type <typeparamref name="T"/>,
220220
/// or in the rare event of an internal logic error indicating a bug.
221221
/// </exception>
222-
internal static T FromJsonParameters<T>(JsonCredentialParameters credentialParameters)
222+
public static T FromJsonParameters<T>(JsonCredentialParameters credentialParameters)
223223
{
224224
credentialParameters.ThrowIfNull(nameof(credentialParameters));
225225
if (FromJsonParameters(credentialParameters, typeof(T)) is T credentialAsT)

0 commit comments

Comments
 (0)