コード例 #1
0
 public void SaveAuthenticationInfo(IProtectedResource resource, IAuthenticationInfo authenticationInfo) => store[resource.SecurityId] = authenticationInfo;
コード例 #2
0
 public void RemoveAuthenticationInfo(IProtectedResource resource) => store.Remove(resource.SecurityId);
コード例 #3
0
 public IAuthenticationInfo GetAuthenticationInfo(IProtectedResource resource) => store.ContainsKey(resource.SecurityId) ? store[resource.SecurityId] : null;