Skip to content

Commit

Permalink
Add param
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Aug 30, 2023
1 parent 06bf2c8 commit 6c09b9e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion server/auth/types/basic/basic_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ export class BasicAuthentication extends AuthenticationType {
);
}

async refreshAccessToken(cookie: SecuritySessionCookie): Promise<string> {
async refreshAccessToken(
cookie: SecuritySessionCookie,
request: OpenSearchDashboardsRequest
): Promise<string> {
return '';
}

Expand Down
5 changes: 4 additions & 1 deletion server/auth/types/jwt/jwt_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ export class JwtAuthentication extends AuthenticationType {
);
}

async refreshAccessToken(cookie: SecuritySessionCookie): Promise<string> {
async refreshAccessToken(
cookie: SecuritySessionCookie,
request: OpenSearchDashboardsRequest
): Promise<string> {
return '';
}

Expand Down
5 changes: 4 additions & 1 deletion server/auth/types/proxy/proxy_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ export class ProxyAuthentication extends AuthenticationType {
);
}

async refreshAccessToken(cookie: SecuritySessionCookie): Promise<string> {
async refreshAccessToken(
cookie: SecuritySessionCookie,
request: OpenSearchDashboardsRequest
): Promise<string> {
return '';
}

Expand Down
5 changes: 4 additions & 1 deletion server/auth/types/saml/saml_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ export class SamlAuthentication extends AuthenticationType {
);
}

async refreshAccessToken(cookie: SecuritySessionCookie): Promise<string> {
async refreshAccessToken(
cookie: SecuritySessionCookie,
request: OpenSearchDashboardsRequest
): Promise<string> {
return '';
}

Expand Down

0 comments on commit 6c09b9e

Please sign in to comment.