Class TokenCredential
- Namespace
- Skyline.DataMiner.Automation.Credentials
- Assembly
- SLManagedAutomation.dll
Represents a set of credentials containing a single access token.
public class TokenCredential : ScriptCredential
- Inheritance
-
TokenCredential
- Inherited Members
- Extension Methods
Examples
var credential = engine.GetCredential("myCredential") as TokenCredential;
string token = credential.Token;
Remarks
note
Available from DataMiner 10.6.10/10.7.0 onwards.
Properties
- Token
Gets the access token stored in the Credentials Library.
Methods
- GetPassword()
Not supported. Token credentials do not contain a password.
- GetToken()
Gets the access token stored in the Credentials Library.
- GetUserName()
Not supported. Token credentials do not contain a username.