I think the goals are described in the names of the Authentication and SignIn methods
So the goal of AuthenticateAsync is to get an authentication ticket
await ticket = Authentication.AuthenticateAsync(DefaultAuthenticationTypes.ExternalBearer);
it returns an AuthenticateResult similar to this
{Microsoft.Owin.Security.AuthenticateResult} Description: {Microsoft.Owin.Security.AuthenticationDescription} Identity: {System.Security.Claims.ClaimsIdentity} Properties: {Microsoft.Owin.Security.AuthenticationProperties}
and with this result you can now SignIn (add Identity information to the context)
Context.Authentication.SignIn(ticket.Properties, ticket.Identity);
You can see this very clearly in the code example below.
var ticket = await Context.Authentication.AuthenticateAsync(Options.AuthenticationType); if(ticket != null) { Context.Authentication.SignIn(ticket.Properties, ticket.Identity); Response.Redirect(ticket.Properties.RedirectUri); return true; }
source share