EndSessionRequest constructor

EndSessionRequest({
  1. String? idTokenHint,
  2. String? postLogoutRedirectUrl,
  3. String? state,
  4. bool allowInsecureConnections = false,
  5. bool preferEphemeralSession = false,
  6. Map<String, String>? additionalParameters,
  7. String? issuer,
  8. String? discoveryUrl,
  9. AuthorizationServiceConfiguration? serviceConfiguration,
})

Implementation

EndSessionRequest({
  this.idTokenHint,
  this.postLogoutRedirectUrl,
  this.state,
  this.allowInsecureConnections = false,
  this.preferEphemeralSession = false,
  this.additionalParameters,
  String? issuer,
  String? discoveryUrl,
  AuthorizationServiceConfiguration? serviceConfiguration,
}) : assert((idTokenHint == null && postLogoutRedirectUrl == null) ||
          (idTokenHint != null && postLogoutRedirectUrl != null)) {
  this.serviceConfiguration = serviceConfiguration;
  this.issuer = issuer;
  this.discoveryUrl = discoveryUrl;
}