Ejemplo n.º 1
0
 private OrgStandardAuthenticator GetAuthenticatior()
 {
     var authMech = new OrgStandardAuthenticator
     {
         SecertKey =
                    new Key()
                    {
                        ApiKey =
                                "4ISJqHMO0XpLpMHXj77tjv1R7QKNYTptkGFKgrJdyX4=",
                        ExpiryDate = DateTime.Now,
                        Type = KeyType.ApplicationSecretKey
                    },
         PublicKey =
                    new Key()
                    {
                        ApiKey = "abc123",
                        Type = KeyType.ApplicationPublicKey,
                        ExpiryDate = DateTime.Now
                    }
     };
     return authMech;
 }
Ejemplo n.º 2
0
        private OrgStandardAuthenticator GetAuthenticatior()
        {
            var authMech = new OrgStandardAuthenticator
            {
                SecertKey =
                    new Key()
                {
                    ApiKey =
                        "4ISJqHMO0XpLpMHXj77tjv1R7QKNYTptkGFKgrJdyX4=",
                    ExpiryDate = DateTime.Now,
                    Type       = KeyType.ApplicationSecretKey
                },
                PublicKey =
                    new Key()
                {
                    ApiKey     = "abc123",
                    Type       = KeyType.ApplicationPublicKey,
                    ExpiryDate = DateTime.Now
                }
            };

            return(authMech);
        }