All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yanyun.auth.config.AuthProperties Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package com.yanyun.auth.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "authentication")
public class AuthProperties {

    private String clientId;

    private String signingKey;

    private String authUrl;

    private String clientSecret;

    private boolean enable;

    public String getAuthUrl() {
        return authUrl;
    }

    public void setAuthUrl(String authUrl) {
        this.authUrl = authUrl;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getSigningKey() {
        return signingKey;
    }

    public void setSigningKey(String signingKey) {
        this.signingKey = signingKey;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "AuthProperties{" +
                "clientId='" + clientId + '\'' +
                ", signingKey='" + signingKey + '\'' +
                ", authUrl='" + authUrl + '\'' +
                ", clientSecret='" + clientSecret + '\'' +
                ", enable=" + enable +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy