# Microsoft.AspNetCore.Authentication.BearerToken

``` diff
 namespace Microsoft.AspNetCore.Authentication.BearerToken {
     public class BearerTokenEvents {
-        public virtual Task MessageReceived(MessageReceivedContext context);
+        public virtual Task MessageReceivedAsync(MessageReceivedContext context);
     }
     public sealed class BearerTokenOptions : AuthenticationSchemeOptions {
-        public ISecureDataFormat<AuthenticationTicket>? BearerTokenProtector { get; set; }
+        public ISecureDataFormat<AuthenticationTicket> BearerTokenProtector { get; set; }
+        public TimeSpan RefreshTokenExpiration { get; set; }
+        public ISecureDataFormat<AuthenticationTicket> RefreshTokenProtector { get; set; }
     }
 }
```

