Exemplo n.º 1
0
 public void EndMsalAction(MatsAction action, AuthOutcome outcome, ErrorSource errorSource, string error, string errorDescription)
 {
     EndGenericAction(action.ActionId, MatsConverter.AsString(outcome), errorSource, error, errorDescription, string.Empty);
 }
Exemplo n.º 2
0
        public MatsAction StartMsalAction(MatsScenario scenario, string correlationId, IEnumerable <string> scopes)
        {
            var actionArtifacts = CreateGenericAction(scenario, correlationId, ActionType.Msal);

            actionArtifacts.PropertyBag.Add(ActionPropertyNames.IdentityServiceConstStrKey, MatsConverter.AsString(IdentityService.AAD));
            SetScopesProperty(actionArtifacts.PropertyBag, scopes);
            return(actionArtifacts.Action);
        }