Свойство | Type | Description | |
---|---|---|---|
WebServiceTokenForParameterizedReplacements | |||
WebServiceTokenForUnitTests | |||
WebServiceTokenGuidForParameterizedReplacement | Guid | ||
WebServiceTokenGuidForUnitTests | Guid |
Méthode | Description | |
---|---|---|
DemandHasPermission ( FirmaBaseFeature feature ) : void |
Throws an exception if the Person associated with this WebServiceToken does not have access to FirmaBaseFeature In a unit test using WebServiceTokenGuidForUnitTests this will always pass, and Person will return Stewart Gordon's person ID for now Might want to introduce a system person at some point.
|
|
ToString ( ) : string | ||
WebServiceToken ( string allegedWebServiceToken ) : System |
Méthode | Description | |
---|---|---|
DemandValidWebServiceToken ( string allegedWebServiceToken, bool isBeingCalledByStaticConstructor ) : Guid |
Throws an exception if the string is not valid as a WebServiceToken
|
|
IsValidAsParameterizedReplacementToken ( Guid tokenGuidToCheck ) : bool |
Indicates if the token is valid in these circumstances as a parameter replacement token, has to be the same GUID as WebServiceTokenGuidForParameterizedReplacement
|
|
IsValidAsUnitTestToken ( Guid tokenGuidToCheck, bool isBeingCalledByStaticConstructor ) : bool |
Indicates if the token is valid in these circumstances as a unit test token, has to be the same GUID as WebServiceTokenGuidForUnitTests
|
|
WebServiceToken ( ) : System | ||
WebServiceToken ( string allegedWebServiceToken, bool isBeingCalledByStaticConstructor ) : System |
public DemandHasPermission ( FirmaBaseFeature feature ) : void | ||
feature | FirmaBaseFeature | |
Résultat | void |
public WebServiceToken ( string allegedWebServiceToken ) : System | ||
allegedWebServiceToken | string | |
Résultat | System |
public static WebServiceToken,ProjectFirma.Web.Controllers WebServiceTokenForParameterizedReplacements | ||
Résultat |
public static WebServiceToken,ProjectFirma.Web.Controllers WebServiceTokenForUnitTests | ||
Résultat |
public static Guid WebServiceTokenGuidForParameterizedReplacement | ||
Résultat | Guid |