bugfix s3 bucket name

This commit is contained in:
kkb0318
2024-04-24 22:45:24 +09:00
parent 3473c3de2d
commit a3146982cb
5 changed files with 34 additions and 21 deletions
+9 -7
View File
@@ -15,18 +15,20 @@ type AwsS3IdPFactory struct {
jwksFileName string
}
func NewAwsS3IdpFactory(ctx context.Context,
region, bucketName string,
func NewAwsS3IdpFactory(
ctx context.Context,
region,
bucketName string,
jwk *selfhosted.JWK,
jwksFileName string,
awsClient awsclient.AwsClient,
) (*AwsS3IdPFactory, error) {
return &AwsS3IdPFactory{
region,
bucketName,
awsClient,
jwk,
jwksFileName,
region: region,
bucketName: bucketName,
awsClient: awsClient,
jwk: jwk,
jwksFileName: jwksFileName,
}, nil
}