private SecureStorageRequest CreateRequest() { var service = RemoteUrl?.GetLeftPart(UriPartial.Path); if (service == null) { throw new InvalidOperationException($"No service set for {this}"); } var label = $"{RemoteUrl?.Host} OpenID Connect tokens"; return(new SecureStorageRequest(LocalUUID, service, label)); }
private SecureStorageRequest CreateRequest() { var account = RemoteUrl?.GetLeftPart(UriPartial.Path); if (account == null) { throw new InvalidOperationException($"No account set for {this}"); } var label = $"{RemoteUrl?.Host} OpenID Connect tokens"; return(new SecureStorageRequest(account, OIDCServiceName, label)); }
public override string ToString() { return($"OpenIDAuthenticator[{RemoteUrl?.GetLeftPart(UriPartial.Path)}]"); }