Table of Contents

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.

Type

Gets the type of the credentials, which always is Token.

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.

Advanced search syntax