Class OAuth2Property

java.lang.Object
best.skn.security.properties.OAuth2Property

@Component @ConfigurationProperties("skn.security.oauth2.client.success") public class OAuth2Property extends Object
External OAuth2 Configuration Property Class

There is a property called 'skn.security.oauth2.client.success' for externalizing configurations

The sub-properties are:

(1) Success Redirection URL: it's a String under 'skn.security.oauth2.client.success.redirect'. It holds the successful login redirection page address. When a user is successfully logged in, he/she will be redirected to this address.

Since:
2024-03-16
Version:
1.4.0
Author:
SKN Shukhan
Use Case:
Spring Boot Reactive
Dedicated To:
Logno, Atoshi and My Parents
  • Field Details

    • redirect

      private String redirect
      A String containing the URL for the successful OAuth2.0 login redirection page in OAuth2 configuration
      Since:
      v1.0.0
  • Constructor Details

    • OAuth2Property

      public OAuth2Property(String redirect)
      Public Constructor with all private properties
      Parameters:
      redirect - String
      Since:
      v1.4.0
    • OAuth2Property

      public OAuth2Property()
      Public Constructor with no argument
      Since:
      v1.4.0
  • Method Details

    • getRedirect

      public String getRedirect()
      Getter method for `redirect` field
      Returns:
      String for `redirect` field
      Since:
      v1.4.0
    • setRedirect

      public void setRedirect(String value)
      Setter method for `redirect` field
      Parameters:
      value - String for `redirect` field
      Since:
      v1.4.0