Skip to main content

Class AuthorizationTicket

Namespace: SuperOffice.WebApi.Authorization Assembly: SuperOffice.WebApi.Authorization.dll SOTicket for use in onsite scenarios. See also IAuthorization.

Inheritance

object ← AuthorizationTicket

Implements

IAuthorization

Inherited Members

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

Constructors

AuthorizationTicket(string)

Ticket Authorization constructor used in CRM onsite scenario’s.

Parameters

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

Properties

RefreshAuthorizationAsync

Try to refresh this IAuthorization instance.

Property Value

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

Ticket

The SOTicket value.

Property Value

string

Methods

GetAuthorization()

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

Returns

AuthenticationHeaderValue Gets a Tuple`2 (string,string) where scheme is SOTicket and parameter is SOTicket string.