Méthode | Description | |
---|---|---|
GetActionUrl ( |
Forms the correct action url for the file and host
|
|
GetDiscoveryInfo ( ) : Task
|
Gets the discovery information from WOPI discovery and caches it appropriately
|
|
PopulateActions ( this file ) : System.Threading.Tasks.Task |
Populates a file with action details from WOPI discovery based on the file extension
|
|
PopulateActions ( this |
Populates a list of files with action details from WOPI discovery
|
|
ValidateWopiProof ( |
Validates the WOPI Proof on an incoming WOPI request
|
Méthode | Description | |
---|---|---|
getWopiProof ( |
Gets the WOPI proof details from the WOPI discovery endpoint and caches it appropriately
|
|
verifyProof ( byte expectedProof, string proofFromRequest, string proofFromDiscovery ) : bool |
Verifies the proof against a specified key
|
public static GetActionUrl ( |
||
action | ||
file | ||
authority | string | |
Résultat | string |
public static PopulateActions ( this file ) : System.Threading.Tasks.Task | ||
file | this | |
Résultat | System.Threading.Tasks.Task |
public static PopulateActions ( this |
||
files | this |
|
Résultat | System.Threading.Tasks.Task |
public static ValidateWopiProof ( |
||
context | ||
Résultat | Task |