14 references to TwitterDefaults
Microsoft.AspNetCore.Authentication.Test (4)
TwitterTests.cs (4)
23
protected override string DefaultScheme =>
TwitterDefaults
.AuthenticationScheme;
437
var expectedIssuer =
TwitterDefaults
.AuthenticationScheme;
527
var expectedIssuer =
TwitterDefaults
.AuthenticationScheme;
583
.AddCookie(TestExtensions.CookieAuthenticationScheme, o => o.ForwardChallenge =
TwitterDefaults
.AuthenticationScheme)
Microsoft.AspNetCore.Authentication.Twitter (10)
TwitterExtensions.cs (7)
18
/// The default scheme is specified by <see cref="
TwitterDefaults
.AuthenticationScheme"/>.
26
=> builder.AddTwitter(
TwitterDefaults
.AuthenticationScheme, _ => { });
30
/// The default scheme is specified by <see cref="
TwitterDefaults
.AuthenticationScheme"/>.
39
=> builder.AddTwitter(
TwitterDefaults
.AuthenticationScheme, configureOptions);
43
/// The default scheme is specified by <see cref="
TwitterDefaults
.AuthenticationScheme"/>.
53
=> builder.AddTwitter(authenticationScheme,
TwitterDefaults
.DisplayName, configureOptions);
57
/// The default scheme is specified by <see cref="
TwitterDefaults
.AuthenticationScheme"/>.
TwitterHandler.cs (3)
173
var twitterAuthenticationEndpoint =
TwitterDefaults
.AuthenticationEndpoint + requestToken.Token;
273
var response = await ExecuteRequestAsync(
TwitterDefaults
.RequestTokenEndpoint, HttpMethod.Post, extraOAuthPairs: new Dictionary<string, string>() { { "oauth_callback", callBackUri } });
299
var response = await ExecuteRequestAsync(
TwitterDefaults
.AccessTokenEndpoint, HttpMethod.Post, token, formData: formPost);