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 {
2121 refresh ( token : string ) : Promise < Token > ;
2222}
2323
24- class oidcClient implements Client {
24+ class OidcClient implements Client {
2525 public constructor ( readonly config : oidc . Configuration ) { }
2626
2727 public async refresh ( token : string ) : Promise < Token > {
@@ -124,7 +124,10 @@ export class OpenIDConnectAuth implements Authenticator {
124124 }
125125
126126 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 ) ;
129132 }
130133}
You can’t perform that action at this time.
0 commit comments