-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renames subclasses of ClientCredential for consistency in relation to…
… naming of configuration properties.
- Loading branch information
Showing
10 changed files
with
51 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
.../src/main/java/no/nav/testnav/libs/securitycore/domain/azuread/AzureClientCredential.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package no.nav.testnav.libs.securitycore.domain.azuread; | ||
|
||
public class AzureClientCredential extends ClientCredential { | ||
|
||
AzureClientCredential(String clientId, String clientSecret) { | ||
super(clientId, clientSecret); | ||
} | ||
|
||
} |
12 changes: 10 additions & 2 deletions
12
...c/main/java/no/nav/testnav/libs/securitycore/domain/azuread/AzureNavClientCredential.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
package no.nav.testnav.libs.securitycore.domain.azuread; | ||
|
||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@EqualsAndHashCode(callSuper = false) | ||
public class AzureNavClientCredential extends ClientCredential { | ||
|
||
AzureNavClientCredential(String clientId, String clientSecret) { | ||
private final String tokenEndpoint; | ||
|
||
AzureNavClientCredential(String tokenEndpoint, String clientId, String clientSecret) { | ||
super(clientId, clientSecret); | ||
this.tokenEndpoint = tokenEndpoint; | ||
} | ||
|
||
} | ||
} |
17 changes: 0 additions & 17 deletions
17
...n/java/no/nav/testnav/libs/securitycore/domain/azuread/AzureNavProxyClientCredential.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters