Unified Realtime/API framework for .NET platform and Unity.
MIT License
Bot releases are hidden (Show)
Published by neuecc over 4 years ago
MagicOnion.Server.Authentication
package provides a simple authentication mechanism on MagicOnion. Currently, the package is marked as preview.
$ dotnet add package -v 3.0.10-preview MagicOnion.Server.Authentication
MagicOnion.Server.Authentication
provides two API surfaces.
AuthorizeAttribute
, AllowAnonymousAttribute
)To use the framework, 3rd-party developers can implement JWT-based authentication with minimal effort. The developers just implement below interfaces.
MagicOnion.Server.Authentication.Jwt.IJwtAuthenticationProvider
System.Security.Principal.IIdentity
Sample code: https://github.com/Cysharp/MagicOnion/tree/master/samples/JwtAuthentication
Published by neuecc over 4 years ago
⚠NOTE: If you installed the previous version in your project, delete existing MagicOnion package before upgrading.
MagicOnion.Abstractions
from MagicOnion
in Unity project.
MagicOnion.sln
).UnityDebugLogger
and ChannelExtensions
are removed at v3.0. But we did not intented to that.MagicOnion.Unity
directory.UnsafeDirectBlitResolver
does not exists in Unitymoc
uses ConsoleAppFramework https://github.com/Cysharp/ConsoleAppFramework/
Published by neuecc almost 5 years ago
Same as (fixed) 3.0.4.
This release only affects MSBuild.Tasks.
(may) fixed build error on dotnet build when use with MessagePack.MSBuild.Tasks.
Published by neuecc almost 5 years ago
This release only affects MSBuild.Tasks.
(may) fixed build error on dotnet build
when use with MessagePack.MSBuild.Tasks
.
Published by neuecc almost 5 years ago
This release fixes failed code-generator in 3.0.1 and 3.0.2.
MethodIdAttribute
moved to MagicOnion.Abstractions
Published by neuecc almost 5 years ago
This release is only affected code-generator.
Published by neuecc almost 5 years ago
Update MessagePack-CSharp dependency to v2.
It causes many API breaking changes so jump major version to 3
.
MagicOnion.Generator
.NET Core Tools package.MagicOnion.MSBuild.Tasks
package.EmbeddedServices
(Heartbeat, Ping).MagicOnion
and MagicOnion.Abstraction
.IFormatterResolver
apis changed to MessagePackSerializerOptions
.MessagePackSerializerOptions
(no use LZ4 in default).Published by mayuki almost 5 years ago
Published by mayuki almost 5 years ago
Register
methods from IServiceLocator
.
IServiceLocator
is now provided for only resolving external types. MagicOnion doesn't register any service and types.IGroupRepositoryFactory
method
IGroupRepository CreateRepository(IServiceLocator serviceLocator);
-> IGroupRepository CreateRepository(IFormatterResolver formatterResolver, IMagicOnionLogger logger, IServiceLocator serviceLocator);
OpenTelemetryCollectorFilterAttribute
has been changed to IMagicOnionFilterFactory
implementation.
options.Service.GlobalFilters.Add<OpenTelemetryCollectorFilterAttribute>();
-> options.Service.GlobalFilters.Add(new OpenTelemetryCollectorFilterAttribute());
Published by neuecc almost 5 years ago
MessagePack.UnityShims
(Thanks @alfeg)Published by neuecc about 5 years ago
Support F# #207, thanks @Zymlex, @ForNeVeR
Published by neuecc about 5 years ago
Fix compatibility with Microsoft.Extensions.Hosting 3.0.0 #202
Published by neuecc about 5 years ago
Add StreamingHub.BroadcastTo
/BroadcastToSelf
Published by neuecc about 5 years ago
2.23.0
) both server and Unity
System.Interactive.Async
dependencypublic override async ValueTask Invoke(ServiceContext context, Func<ServiceContext, Task> next)
RequestContext.SetRequestMutator/SetResponseMutator
Published by neuecc about 5 years ago
Add ClientFilter, see: https://github.com/Cysharp/MagicOnion#clientfilter
This change requires runtime update and code-generator update.