Paket


ConfigFile

Namespace: Paket

Functions and values

Function or valueDescription
AddCredentials (...)
Signature: (source:string * username:string * password:string * authType:string) -> Result<unit,DomainMessage>
AddToken (source, token)
Signature: (source:string * token:string) -> Result<unit,DomainMessage>
askAndAddAuth (...)
Signature: source:string -> username:string -> password:string -> authType:string -> Result<unit,DomainMessage>
checkCredentials (url, cred)
Signature: (url:string * cred:Auth option) -> bool

Check if the provided credentials for a specific source are correct

Decrypt salt encrypted
Signature: salt:string -> encrypted:string -> string

Decrypt a encrypted string with a user specific keys

DecryptNuget encrypted
Signature: encrypted:string -> string
Encrypt password
Signature: password:string -> string * string

Encrypts a string with a user specific keys

GetAuthentication source
Signature: source:string -> Auth option

Get the authentication from the authentication store for a specific source

GetAuthenticationForUrl
Signature: string * string -> Auth option

Get the authentication from the authentication store for a specific source and validates against the url

getAuthFromNode node
Signature: node:XmlNode -> Auth
getSourceNodes (...)
Signature: credentialsNode:XmlNode -> source:string -> nodeType:string -> XmlElement list
Fork me on GitHub