コード例 #1
0
 /// <summary>
 /// defaults to use cyberArk,  providers must be loaded before use
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="uri"></param>
 /// <param name="safe"></param>
 /// <param name="appId"></param>
 /// <returns></returns>
 public IXapPasswordContext PasswordContext(string userId, string uri, string safe, string appId)
 {
     return(PasswordContextBuilder.Create().PasswordContext(userId, uri, safe, appId));
 }
コード例 #2
0
 /// <summary>
 /// will look up the context from a config file
 /// </summary>
 /// <param name="configurationKey"></param>
 /// <returns></returns>
 public IXapPasswordContext PasswordContext(string configurationKey)
 {
     return(PasswordContextBuilder.Create().PasswordContext(configurationKey));
 }
コード例 #3
0
 /// <summary>
 /// defaults to use tisam,   providers must be loaded before use
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="key"></param>
 /// <param name="uri">tisam uri</param>
 /// <returns></returns>
 public IXapPasswordContext PasswordContext(string userId, string key, string uri)
 {
     return(PasswordContextBuilder.Create().PasswordContext(userId, key, uri));
 }
コード例 #4
0
 public IXapPasswordContext PasswordContext(IXapPasswordContext passwordContext)
 {
     return(PasswordContextBuilder.Create().PasswordContext(passwordContext));
 }