public async Task <IActionResult> AuthOnSubscribeM5([FromBody] AuthOnSubscribeM5Payload request) { var result = await AuthorizeOnSubscribeM5(request); if (result != null && result is OkAuthOnSubscribeM5Result authResult) { return(Ok(new { Result = "ok", Modifiers = new { authResult.Topics } })); } return(result.GeneratePublicResult()); }
protected virtual async Task <HookResult> AuthorizeOnSubscribeM5(AuthOnSubscribeM5Payload authOnRegisterPayload) { return(new OkResult()); }