private static string GetServiceToken() { "Requesting token".ConsoleYellow(); var wrapClient = new WrapClient(_wrapAddress); return wrapClient.Issue("bob", "abc!123", _baseAddress).RawToken; }
private static string RequestServiceTokenWrap(string samlToken) { "Requesting service token".ConsoleYellow(); var client = new WrapClient(_acsWrapEndpoint); return client.IssueAssertion(samlToken, "SAML", _baseAddress).RawToken; }