Skip to main content

<a id=“SuperOffice_WebApi_Authorization_AuthorizationTicket”></a> Class AuthorizationTicket

Namespace: SuperOffice.WebApi.Authorization
Assembly: SuperOffice.WebApi.Authorization.dll
SOTicket for use in onsite scenarios. See also <xref href=“SuperOffice.WebApi.Authorization.IAuthorization” data-throw-if-not-resolved=“false”></xref>.

Inheritance

objectAuthorizationTicket

Implements

IAuthorization

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

<a id=“SuperOffice_WebApi_Authorization_AuthorizationTicket__ctor_System_String_”></a> AuthorizationTicket(string)

Ticket Authorization constructor used in CRM onsite scenario’s.

Parameters

ticket string SOTicket string: “7T:abc123==“

Properties

<a id=“SuperOffice_WebApi_Authorization_AuthorizationTicket_RefreshAuthorizationAsync”></a> RefreshAuthorizationAsync

Try to refresh this <xref href=“SuperOffice.WebApi.Authorization.IAuthorization” data-throw-if-not-resolved=“false”></xref> instance.

Property Value

Func<ReAuthorizationArgs, Task<IAuthorization&gt;&gt;

<a id=“SuperOffice_WebApi_Authorization_AuthorizationTicket_Ticket”></a> Ticket

The SOTicket value.

Property Value

string

Methods

<a id=“SuperOffice_WebApi_Authorization_AuthorizationTicket_GetAuthorization”></a> GetAuthorization()

Gets a tuple that represents authorization scheme and parameter for an SOTicket.

Returns

AuthenticationHeaderValue Gets a <xref href=“System.Tuple%602” data-throw-if-not-resolved=“false”></xref> (string,string) where scheme is SOTicket and parameter is SOTicket string.