[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method)]
public sealed class SessionMethodAttribute : ApiAccessTokenMethodAttribute<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method)>
Public NotInheritable Class SessionMethodAttribute
Inherits ApiAccessTokenMethodAttribute[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method)]
public ref class SessionMethodAttribute sealed : public ApiAccessTokenMethodAttribute[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method)>]
type SessionMethodAttribute =
class
inherit ApiAccessTokenMethodAttribute
end| SessionMethodAttribute | Указывает, что метод поддерживает сессию Tessa для проверки доступа и для передачи информации о клиенте. |
| AccessLevel | Требуемый уровень доступа пользователя. |
| Base64Encoded | Флаг, означающий, что строка содержащая информацию о сессии закодирована в base64. |
| OperationFullName | Полное имя текущей операции, включающее информацию по сервису/контроллеру и собственно операции. Имя может использоваться при логировании. Значение по умолчанию null указывает, что имя операции будет определено автоматически из запрошенного маршрута. |
| Scope |
Область действия токена.
(Унаследован от ApiAccessTokenMethodAttribute) |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Унаследован от Attribute) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Унаследован от Attribute) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Returns the hash code for this instance. (Унаследован от Attribute) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Унаследован от Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Унаследован от Attribute) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| OnActionExecutionAsync |
Called asynchronously before the action, after model binding is complete.
(Переопределяет ApiAccessTokenMethodAttributeOnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |