This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Page = require 'Utils/Page' | |
class AddOwnerPage extends Page | |
get: -> | |
super "/management/owners/create" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Page | |
constructor: -> | |
# this is singleton | |
@ptor = protractor.getInstance() | |
get: (relativeUrl, ignoreSync) -> | |
# we want to ignore sync if the | |
# page does not use AngularJS | |
@ptor.ignoreSynchronization = ignoreSync or false | |
@ptor.get @ptor.baseUrl + relativeUrl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Page | |
constructor: -> | |
# this is singleton | |
@ptor = protractor.getInstance() | |
get: (relativeUrl, ignoreSync) -> | |
# we want to ignore sync if the | |
# page does not use AngularJS | |
@ptor.ignoreSynchronization = ignoreSync or false | |
@ptor.get @ptor.baseUrl + relativeUrl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Configuration; | |
using System.IdentityModel.Tokens; | |
using System.Linq; | |
namespace Rockend.Bedrock.Web.Admin.Utils.AzureAD | |
{ | |
public class ConfigIssuerNameRegistry : ValidatingIssuerNameRegistry | |
{ | |
static readonly string[] TenantIds = ConfigurationManager.AppSettings["ida:TenentIds"].Split('|').Select(n => n.Trim()).ToArray(); | |
static readonly string[] IssuerKeys = ConfigurationManager.AppSettings["ida:IssuerKeys"].Split('|').Select(n => n.Trim()).ToArray(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace RsaKeyConverter.Converter | |
{ | |
public static class BytesExtensions | |
{ | |
public static string ToBase64(this byte[] bytes) | |
{ | |
return Convert.ToBase64String(bytes); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server.RunAdminCommand( | |
new CommandDocument( | |
new Dictionary<string, object> | |
{ | |
{"setParameter", 1}, | |
{"notablescan", false} | |
})); |
NewerOlder