public class AbstractAuthenticationSupportedRepository
Base class for creating repository types that optionally support authentication.
| Constructor and description |
|---|
protected AbstractAuthenticationSupportedRepository
(ProjectOperations po)Base class constructor insance |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
authentication(Action<? super AuthenticationContainer> action) |
|
public void |
content(Action action)This is currently a NOOP. |
|
public void |
credentials(Action<? super PasswordCredentials> action) |
|
public void |
credentials(Class<? extends Credentials> aClass)Implements the repository method added in Gradle 6.6. |
<T extends Credentials> |
public void |
credentials(Class<T> aClass, Action<? super T> action) |
|
public AuthenticationContainer |
getAuthentication() |
|
public PasswordCredentials |
getCredentials() |
<T extends Credentials> |
public T |
getCredentials(Class<T> aClass) |
|
public String |
getName() |
|
public boolean |
hasCredentials()Check is any credentials has been accessed. |
|
public void |
setName(String name) |
Base class constructor insance
po - ProjectOperationsThis is currently a NOOP.
action - Ignored action.Implements the repository method added in Gradle 6.6.
aClass - Credentials classCheck is any credentials has been accessed.
true is any credentials has been accessed