Class OAuthAttribute
- Namespace
- Ecng.ComponentModel
- Assembly
- Ecng.ComponentModel.dll
Indicates that the property is associated with an OAuth service, identified by a unique service identifier.
[AttributeUsage(AttributeTargets.Property)]
public class OAuthAttribute : Attribute
- Inheritance
-
OAuthAttribute
- Inherited Members
- Extension Methods
Constructors
OAuthAttribute(long)
Indicates that the property is associated with an OAuth service, identified by a unique service identifier.
public OAuthAttribute(long serviceId)
Parameters
serviceId
long
Properties
ServiceId
Gets the unique identifier of the OAuth service.
public long ServiceId { get; }