Condividi tramite


ISecureStoreServiceApplication.RedeemTicket Method

Gets the credentials for the specified ticket and the specified target application.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
<FaultContractAttribute(GetType(SecureStoreServiceFault))> _
<FaultContractAttribute(GetType(SecureStoreServiceCredentialsNotFoundFault))> _
<FaultContractAttribute(GetType(ArgumentNullException))> _
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SecureStoreServiceTargetApplicationNotFoundFault))> _
<FaultContractAttribute(GetType(ArgumentException))> _
Function RedeemTicket ( _
    rawPartitionId As Guid, _
    applicationId As String, _
    base64EncodedTicket As String _
) As SerializableSecureStoreCredentialCollection
'Usage
Dim instance As ISecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim base64EncodedTicket As String
Dim returnValue As SerializableSecureStoreCredentialCollection

returnValue = instance.RedeemTicket(rawPartitionId, _
    applicationId, base64EncodedTicket)
[FaultContractAttribute(typeof(SecureStoreServiceFault))]
[FaultContractAttribute(typeof(SecureStoreServiceCredentialsNotFoundFault))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(SecureStoreServiceTargetApplicationNotFoundFault))]
[FaultContractAttribute(typeof(ArgumentException))]
SerializableSecureStoreCredentialCollection RedeemTicket(
    Guid rawPartitionId,
    string applicationId,
    string base64EncodedTicket
)

Parameters

  • rawPartitionId
    Type: System.Guid

    A GUID that represents the partition ID.

  • base64EncodedTicket
    Type: System.String

    The base64-encoded string that represents the ticket.

Return Value

Type: Microsoft.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollection
The credentials of the target application in the specified partition.

Remarks

The caller must be a ticket redeemer for the specified target application.

See Also

Reference

ISecureStoreServiceApplication Interface

ISecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace