001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2024 Smile CDR, Inc. 006 * %% 007 * All rights reserved. 008 * #L% 009 */ 010package ca.cdr.api.fhir.interceptor; 011 012/** 013 * This class contains details about an OIDC authorization request 014 * that is in progress. 015 * 016 * @see CdrPointcut#SMART_FEDERATED_OIDC_PRE_PROVIDER_SELECTION 017 */ 018public class OidcAuthRequestDetails { 019 private final String myClientId; 020 private final String myLaunch; 021 private final String myRedirectUri; 022 private final String myScope; 023 private final String myState; 024 025 /** 026 * Constructor 027 */ 028 public OidcAuthRequestDetails( 029 String theClientId, String theLaunch, String theRedirectUri, String theScope, String theState) { 030 myClientId = theClientId; 031 myLaunch = theLaunch; 032 myRedirectUri = theRedirectUri; 033 myScope = theScope; 034 myState = theState; 035 } 036 037 /** 038 * The value of the "client_id" request parameter 039 */ 040 public String getClientId() { 041 return myClientId; 042 } 043 044 /** 045 * The value of the "launch" request parameter 046 */ 047 public String getLaunch() { 048 return myLaunch; 049 } 050 051 /** 052 * The value of the "redirect_uri" request parameter 053 */ 054 public String getRedirectUri() { 055 return myRedirectUri; 056 } 057 058 /** 059 * The value of the "scope" request parameter 060 */ 061 public String getScope() { 062 return myScope; 063 } 064 065 /** 066 * The value of the "state" request parameter 067 */ 068 public String getState() { 069 return myState; 070 } 071}