Class JwtService

java.lang.Object
edu.ucsb.cs156.frontiers.services.JwtService

@Service public class JwtService extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    JwtService(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.data.auditing.DateTimeProvider dateTimeProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Method to retrieve a token to act as a particular app installation in a particular organization
    Method to retrieve a signed JWT that a service can use to authenticate with GitHub as an app installation without permissions to a specific organization.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait