Class SocialNetTokenCredentials
Represents credentials supplied from/to Social Net site (i.e. Facebook, Twitter etc.)
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Security
Assembly: Azos.dll
Syntax
[Serializable]
public class SocialNetTokenCredentials : Credentials
Constructors
SocialNetTokenCredentials(String, String, String)
Declaration
public SocialNetTokenCredentials(string netName, string token, string userName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | netName | |
System.String | token | |
System.String | userName |
Properties
NetName
Name of social network that returned the token
Declaration
public string NetName { get; }
Property Value
Type | Description |
---|---|
System.String |
Token
Auth token returned by the network
Declaration
public string Token { get; }
Property Value
Type | Description |
---|---|
System.String |
UserName
Optional user name as returned from social network (i.e. email or account screen name)
Declaration
public string UserName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Forget()
Declaration
public override void Forget()
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()