File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface Client {
21
21
refresh ( token : string ) : Promise < Token > ;
22
22
}
23
23
24
- class oidcClient implements Client {
24
+ class OidcClient implements Client {
25
25
public constructor ( readonly config : oidc . Configuration ) { }
26
26
27
27
public async refresh ( token : string ) : Promise < Token > {
@@ -124,7 +124,10 @@ export class OpenIDConnectAuth implements Authenticator {
124
124
}
125
125
126
126
private async getClient ( user : User ) : Promise < Client > {
127
- const configuration = await oidc . discovery ( user . authProvider . config [ 'idp-issuer-url' ] , user . authProvider . config [ 'client-id' ] ) ;
128
- return new oidcClient ( configuration ) ;
127
+ const configuration = await oidc . discovery (
128
+ user . authProvider . config [ 'idp-issuer-url' ] ,
129
+ user . authProvider . config [ 'client-id' ] ,
130
+ ) ;
131
+ return new OidcClient ( configuration ) ;
129
132
}
130
133
}
You can’t perform that action at this time.
0 commit comments