com.azure.resourcemanager.appplatform.models.DevToolPortalSsoProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Single sign-on related configuration.
*/
@Fluent
public final class DevToolPortalSsoProperties {
/*
* It defines the specific actions applications can be allowed to do on a user's behalf
*/
@JsonProperty(value = "scopes")
private List scopes;
/*
* The public identifier for the application
*/
@JsonProperty(value = "clientId")
private String clientId;
/*
* The secret known only to the application and the authorization server
*/
@JsonProperty(value = "clientSecret")
private String clientSecret;
/*
* The URI of a JSON file with generic OIDC provider configuration.
*/
@JsonProperty(value = "metadataUrl")
private String metadataUrl;
/**
* Creates an instance of DevToolPortalSsoProperties class.
*/
public DevToolPortalSsoProperties() {
}
/**
* Get the scopes property: It defines the specific actions applications can be allowed to do on a user's behalf.
*
* @return the scopes value.
*/
public List scopes() {
return this.scopes;
}
/**
* Set the scopes property: It defines the specific actions applications can be allowed to do on a user's behalf.
*
* @param scopes the scopes value to set.
* @return the DevToolPortalSsoProperties object itself.
*/
public DevToolPortalSsoProperties withScopes(List scopes) {
this.scopes = scopes;
return this;
}
/**
* Get the clientId property: The public identifier for the application.
*
* @return the clientId value.
*/
public String clientId() {
return this.clientId;
}
/**
* Set the clientId property: The public identifier for the application.
*
* @param clientId the clientId value to set.
* @return the DevToolPortalSsoProperties object itself.
*/
public DevToolPortalSsoProperties withClientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Get the clientSecret property: The secret known only to the application and the authorization server.
*
* @return the clientSecret value.
*/
public String clientSecret() {
return this.clientSecret;
}
/**
* Set the clientSecret property: The secret known only to the application and the authorization server.
*
* @param clientSecret the clientSecret value to set.
* @return the DevToolPortalSsoProperties object itself.
*/
public DevToolPortalSsoProperties withClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
/**
* Get the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.
*
* @return the metadataUrl value.
*/
public String metadataUrl() {
return this.metadataUrl;
}
/**
* Set the metadataUrl property: The URI of a JSON file with generic OIDC provider configuration.
*
* @param metadataUrl the metadataUrl value to set.
* @return the DevToolPortalSsoProperties object itself.
*/
public DevToolPortalSsoProperties withMetadataUrl(String metadataUrl) {
this.metadataUrl = metadataUrl;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}