public OAuthServiceLogOnIdentifyer(OAuthServiceType ServiceType, string ServiceKey)
        {
            this.ServiceType = ServiceType;

            this.ServiceKey = ServiceKey;

        }
 public ESService(string id, OAuthServiceType type, string clientId, string name, string redirectURIs, bool archived, TDMemberProfile?owner = null, AccessRecord?lastClientCredentialsAccess = null, string?endpointURI = null, bool?hasSigningKey = null, bool?hasVerificationToken = null)
 {
     Id           = id;
     Owner        = owner;
     Type         = type;
     ClientId     = clientId;
     Name         = name;
     RedirectURIs = redirectURIs;
     IsArchived   = archived;
     LastClientCredentialsAccess = lastClientCredentialsAccess;
     EndpointURI            = endpointURI;
     IsHasSigningKey        = hasSigningKey;
     IsHasVerificationToken = hasVerificationToken;
 }
            public OAuthUserDisplay(string Name, OAuthServiceType ServiceType)
            {
                this.Name = Name;

                this.ServiceType = ServiceType;
            }
Пример #4
0
 private ActionResult GetSuccessResult(OAuthServiceType ServiceType, string UserName, string ReturnUrl)
 {
     if (OAuthIsExtWindow(ServiceType))
     {
         return OAuthGetExtWindowSuccessResult(UserName, ReturnUrl);
     }
     else
     {
         return Redirect(ReturnUrl);
     }
 }
Пример #5
0
 private static bool OAuthIsExtWindow(OAuthServiceType ServiceType)
 {
     return true;
 }