5 writes to Token
Microsoft.AspNetCore.Authentication.Test (2)
TwitterTests.cs (2)
417
Token
= "TestToken",
496
Token
= "TestToken",
Microsoft.AspNetCore.Authentication.Twitter (3)
Messages\RequestTokenSerializer.cs (1)
87
return new RequestToken {
Token
= token, TokenSecret = tokenSecret, CallbackConfirmed = callbackConfirmed, Properties = properties };
TwitterHandler.cs (2)
285
Token
= Uri.UnescapeDataString(responseParameters["oauth_token"].ToString()),
312
Token
= Uri.UnescapeDataString(responseParameters["oauth_token"].ToString()),
6 references to Token
Microsoft.AspNetCore.Authentication.Twitter (6)
Messages\RequestTokenSerializer.cs (1)
58
writer.Write(token.
Token
);
TwitterHandler.cs (5)
90
if (!string.Equals(returnedToken, requestToken.
Token
, StringComparison.Ordinal))
131
new AuthenticationToken { Name = "access_token", Value = accessToken.
Token
},
157
var context = new TwitterCreatingTicketContext(Context, Scheme, Options, new ClaimsPrincipal(identity), properties, token.UserId, token.ScreenName, token.
Token
, token.TokenSecret, user);
173
var twitterAuthenticationEndpoint = TwitterDefaults.AuthenticationEndpoint + requestToken.
Token
;
196
authorizationParts.Add("oauth_token", accessToken.
Token
);