Skip to content

Commit 1347eb2

Browse files
Fix code formatting
Fix some formatting that must have been messed up in the file-scoped namespaces migration.
1 parent b927dd6 commit 1347eb2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/AspNet.Security.OAuth.Apple/AppleAuthenticationHandler.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ protected virtual IEnumerable<Claim> ExtractClaimsFromToken([NotNull] string tok
134134
var securityToken = Options.SecurityTokenHandler.ReadJsonWebToken(token);
135135

136136
return new List<Claim>(securityToken.Claims)
137-
{
138-
new Claim(ClaimTypes.NameIdentifier, securityToken.Subject, ClaimValueTypes.String, ClaimsIssuer),
139-
};
137+
{
138+
new Claim(ClaimTypes.NameIdentifier, securityToken.Subject, ClaimValueTypes.String, ClaimsIssuer),
139+
};
140140
}
141141
catch (Exception ex)
142142
{
@@ -302,9 +302,9 @@ private async Task<HandleRequestResult> HandleRemoteAuthenticateAsync(
302302
if (Options.SaveTokens)
303303
{
304304
var authTokens = new List<AuthenticationToken>()
305-
{
306-
new AuthenticationToken() { Name = "access_token", Value = tokens.AccessToken },
307-
};
305+
{
306+
new AuthenticationToken() { Name = "access_token", Value = tokens.AccessToken },
307+
};
308308

309309
if (!string.IsNullOrEmpty(tokens.RefreshToken))
310310
{

0 commit comments

Comments
 (0)